mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-02 22:17:03 +03:00
jshint -> eslint
This commit is contained in:
parent
40b3f929e9
commit
77a1d3f3df
100 changed files with 716 additions and 811 deletions
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
class AbstractBoot
|
||||
{
|
||||
bootstart() {/* eslint-disable-line no-empty */}
|
||||
bootstart() {/* no-empty */}
|
||||
}
|
||||
|
||||
export {AbstractBoot, AbstractBoot as default};
|
||||
|
|
|
|||
|
|
@ -46,4 +46,3 @@
|
|||
module.exports = AbstractModel;
|
||||
|
||||
}());
|
||||
|
||||
|
|
|
|||
|
|
@ -88,4 +88,4 @@
|
|||
|
||||
module.exports = AbstractScreen;
|
||||
|
||||
}());
|
||||
}());
|
||||
|
|
|
|||
|
|
@ -127,4 +127,4 @@
|
|||
|
||||
module.exports = AbstractView;
|
||||
|
||||
}());
|
||||
}());
|
||||
|
|
|
|||
|
|
@ -36,13 +36,13 @@
|
|||
};
|
||||
|
||||
/**
|
||||
* @param {Object} thisObject
|
||||
* @param {Object} context
|
||||
*/
|
||||
Knoin.prototype.constructorEnd = function (thisObject)
|
||||
Knoin.prototype.constructorEnd = function (context)
|
||||
{
|
||||
if (Utils.isFunc(thisObject['__constructor_end']))
|
||||
if (Utils.isFunc(context.__constructor_end))
|
||||
{
|
||||
thisObject['__constructor_end'].call(thisObject);
|
||||
context.__constructor_end.call(context);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
@ -77,13 +77,13 @@
|
|||
Knoin.prototype.addSettingsViewModel = function (SettingsViewModelClass, sTemplate, sLabelName, sRoute, bDefault)
|
||||
{
|
||||
SettingsViewModelClass.__rlSettingsData = {
|
||||
'Label': sLabelName,
|
||||
'Template': sTemplate,
|
||||
'Route': sRoute,
|
||||
'IsDefault': !!bDefault
|
||||
Label: sLabelName,
|
||||
Template: sTemplate,
|
||||
Route: sRoute,
|
||||
IsDefault: !!bDefault
|
||||
};
|
||||
|
||||
Globals.aViewModels['settings'].push(SettingsViewModelClass);
|
||||
Globals.aViewModels.settings.push(SettingsViewModelClass);
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
@ -287,7 +287,7 @@
|
|||
var
|
||||
self = this,
|
||||
oScreen = null,
|
||||
bSameScreen= false,
|
||||
bSameScreen = false,
|
||||
oCross = null
|
||||
;
|
||||
|
||||
|
|
@ -509,4 +509,4 @@
|
|||
|
||||
module.exports = new Knoin();
|
||||
|
||||
}());
|
||||
}());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue