Login screen new interface (social buttons)

This commit is contained in:
RainLoop Team 2014-10-30 17:59:25 +04:00
parent 28a684b7c8
commit 77a30c0b92
40 changed files with 622 additions and 630 deletions

View file

@ -19,7 +19,7 @@
/**
* @constructor
*/
function AccountsUserSetting()
function AccountsUserSettings()
{
this.accounts = Data.accounts;
@ -46,12 +46,12 @@
]});
}
AccountsUserSetting.prototype.addNewAccount = function ()
AccountsUserSettings.prototype.addNewAccount = function ()
{
require('Knoin/Knoin').showScreenPopup(require('View/Popup/AddAccount'));
};
AccountsUserSetting.prototype.editAccount = function (oAccountItem)
AccountsUserSettings.prototype.editAccount = function (oAccountItem)
{
if (oAccountItem && oAccountItem.canBeEdit())
{
@ -62,7 +62,7 @@
/**
* @param {AccountModel} oAccountToRemove
*/
AccountsUserSetting.prototype.deleteAccount = function (oAccountToRemove)
AccountsUserSettings.prototype.deleteAccount = function (oAccountToRemove)
{
if (oAccountToRemove && oAccountToRemove.deleteAccess())
{
@ -102,7 +102,7 @@
}
};
AccountsUserSetting.prototype.onBuild = function (oDom)
AccountsUserSettings.prototype.onBuild = function (oDom)
{
var self = this;
@ -117,6 +117,6 @@
;
};
module.exports = AccountsUserSetting;
module.exports = AccountsUserSettings;
}());