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

@ -84,8 +84,8 @@ AbstractView.prototype.viewModelPosition = function()
return this.sPosition;
};
AbstractView.prototype.cancelCommand = function() {};
AbstractView.prototype.closeCommand = function() {};
AbstractView.prototype.cancelCommand = Utils.noop;
AbstractView.prototype.closeCommand = Utils.noop;
AbstractView.prototype.storeAndSetKeyScope = function()
{

View file

@ -37,7 +37,7 @@ Knoin.prototype.constructorEnd = function(context)
{
if (Utils.isFunc(context.__constructor_end))
{
context.__constructor_end.call(context);
context.__constructor_end();
}
};