09120284c5
This will improve the performance a lot. First load performance may suffer a bit, though. Also, the leading "./" is skipped now, as this causes additional string ops, which turn out to be particularly harmful in some cases (slots vs heaps aka. shortstrings in spidermonkey, allocation overhead). And the leading "./" is not really required anymore.
18 lines
688 B
JavaScript
18 lines
688 B
JavaScript
var webui = angular.module('webui', [
|
|
'webui.services.utils', 'webui.services.deps', 'webui.services.base64',
|
|
'webui.services.constants', 'webui.services.rpc',
|
|
'webui.services.modals', 'webui.services.alerts',
|
|
'webui.services.settings', 'webui.services.settings.filters',
|
|
'webui.filters.bytes',
|
|
'webui.directives.chunkbar', 'webui.directives.dgraph', 'webui.directives.fselect',
|
|
'webui.ctrls.download', 'webui.ctrls.nav', 'webui.ctrls.modal', 'webui.ctrls.alert',
|
|
'webui.ctrls.props',
|
|
// external deps
|
|
'ui.bootstrap.collapse', 'ui.bootstrap.dropdownToggle',
|
|
'ui.bootstrap.modal', 'ui.bootstrap.alert'
|
|
]);
|
|
|
|
$(function() {
|
|
angular.bootstrap(document, ['webui'])
|
|
});
|