Code refactoring

This commit is contained in:
RainLoop Team 2015-02-03 03:58:58 +04:00
parent 79233ad83c
commit 286ab567af
53 changed files with 618 additions and 581 deletions

View file

@ -29,7 +29,7 @@
{
AbstractView.call(this, 'Right', 'SystemDropDown');
this.accountEmail = Data.accountEmail;
this.accountEmail = AccountStore.email;
this.accounts = AccountStore.accounts;
this.accountsUnreadCount = AccountStore.accountsUnreadCount;
@ -58,7 +58,7 @@
AbstractSystemDropDownUserView.prototype.emailTitle = function ()
{
return Data.accountEmail();
return AccountStore.email();
};
AbstractSystemDropDownUserView.prototype.settingsClick = function ()