Code refactoring (2) (es5 -> es2015)

This commit is contained in:
RainLoop Team 2016-07-07 02:11:13 +03:00
parent 38a1041a73
commit a2308e251b
23 changed files with 760 additions and 821 deletions

View file

@ -84,9 +84,9 @@ function MessageListMailBoxUserView()
this.messageListCompleteLoadingThrottle = MessageStore.messageListCompleteLoadingThrottle;
this.messageListCompleteLoadingThrottleForAnimation = MessageStore.messageListCompleteLoadingThrottleForAnimation;
Translator.initOnStartOrLangChange(function() {
Translator.initOnStartOrLangChange(_.bind(function() {
this.emptySubjectValue = Translator.i18n('MESSAGE_LIST/EMPTY_SUBJECT_TEXT');
}, this);
}, this));
this.userQuota = QuotaStore.quota;
this.userUsageSize = QuotaStore.usage;