Add more strict rules (eslint)

This commit is contained in:
RainLoop Team 2016-07-02 01:49:59 +03:00
parent b43bb17cdb
commit 52e2698cdf
38 changed files with 488 additions and 434 deletions

View file

@ -35,11 +35,6 @@ _.extend(MenuSettingsUserView.prototype, AbstractView.prototype);
MenuSettingsUserView.prototype.onBuild = function(oDom)
{
// var self = this;
// key('esc', Enums.KeyState.Settings, function() {
// self.backToMailBoxClick();
// });
if (this.mobile)
{
oDom
@ -75,7 +70,7 @@ MenuSettingsUserView.prototype.onBuild = function(oDom)
}
}
}, 200));
}, 200)); // eslint-disable-line no-magic-numbers
};
MenuSettingsUserView.prototype.link = function(sRoute)