diff --git a/dev/AdminBoot.js b/dev/AdminBoot.js new file mode 100644 index 000000000..a3c22bbb8 --- /dev/null +++ b/dev/AdminBoot.js @@ -0,0 +1,10 @@ +/* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ + +'use strict'; + +var + kn = require('./Knoin/Knoin.js'), + RL = require('./Boots/AdminApp.js') +; + +kn.bootstart(RL); \ No newline at end of file diff --git a/dev/Boots/AbstractApp.js b/dev/Boots/AbstractApp.js index 4774ee3f2..30ac22293 100644 --- a/dev/Boots/AbstractApp.js +++ b/dev/Boots/AbstractApp.js @@ -1,359 +1,385 @@ /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ -/** - * @constructor - * @extends KnoinAbstractBoot - */ -function AbstractApp() -{ - KnoinAbstractBoot.call(this); +(function (module) { - this.oSettings = null; - this.oPlugins = null; - this.oLocal = null; - this.oLink = null; - this.oSubs = {}; + 'use strict'; - this.isLocalAutocomplete = true; - - this.popupVisibilityNames = ko.observableArray([]); - - this.popupVisibility = ko.computed(function () { - return 0 < this.popupVisibilityNames().length; - }, this); - - this.iframe = $('