2013-03-02 12:01:07 +01:00
|
|
|
var webui = angular.module('webui', [
|
2013-01-29 13:47:40 +01:00
|
|
|
'webui.services.utils', 'webui.services.deps', 'webui.services.base64',
|
2014-06-02 21:36:21 +02:00
|
|
|
'webui.services.configuration', 'webui.services.rpc',
|
2013-02-22 19:28:10 +01:00
|
|
|
'webui.services.modals', 'webui.services.alerts',
|
2013-02-15 18:34:10 +01:00
|
|
|
'webui.services.settings', 'webui.services.settings.filters',
|
2014-02-23 22:57:29 +01:00
|
|
|
'webui.filters.bytes',
|
2013-01-30 07:13:38 +01:00
|
|
|
'webui.directives.chunkbar', 'webui.directives.dgraph', 'webui.directives.fselect',
|
2013-03-02 12:01:07 +01:00
|
|
|
'webui.ctrls.download', 'webui.ctrls.nav', 'webui.ctrls.modal', 'webui.ctrls.alert',
|
2013-06-23 22:01:15 +02:00
|
|
|
'webui.ctrls.props',
|
2013-03-02 12:01:07 +01:00
|
|
|
// external deps
|
2015-03-13 09:39:35 +01:00
|
|
|
'ui.bootstrap'
|
2013-01-29 13:47:40 +01:00
|
|
|
]);
|
2013-01-22 08:59:52 +01:00
|
|
|
|
2013-01-15 09:24:09 +01:00
|
|
|
$(function() {
|
2014-02-28 12:39:34 +01:00
|
|
|
if (!String.prototype.startsWith) {
|
|
|
|
Object.defineProperty(String.prototype, 'startsWith', {
|
|
|
|
enumerable: false, configurable: false, writable: false,
|
|
|
|
value: function (searchString, position) {
|
|
|
|
position = position || 0;
|
|
|
|
return this.indexOf(searchString, position) === position;
|
|
|
|
}
|
|
|
|
});
|
|
|
|
}
|
2013-03-02 12:01:07 +01:00
|
|
|
angular.bootstrap(document, ['webui'])
|
2013-01-15 09:24:09 +01:00
|
|
|
});
|