Skip to content

TagSpaces is an offline, open source, document manager with tagging support

cleaning up the loader logic

Ilian8b8ce1173a4b
diff --git a/data/loader.js b/data/loader.js
index 0ebcf254d..2754991a8 100644
--- a/data/loader.js
+++ b/data/loader.js
@@ -72,7 +72,6 @@ requirejs.config({
jqueryuiresizable: 'libs/jqueryui/jquery.ui.resizable',
jqueryuidraggable: 'libs/jqueryui/jquery.ui.draggable',
jqueryuidroppable: 'libs/jqueryui/jquery.ui.droppable',
- jqueryuiautocomplete: 'libs/jqueryui/jquery.ui.autocomplete',
jqueryuidatepicker: 'libs/jqueryui/jquery.ui.datepicker',
bootstrap: 'libs/bootstrap/js/bootstrap.min',
@@ -88,9 +87,6 @@ requirejs.config({
handlebarsjs: 'libs/handlebars.js/handlebars-v1.1.2',
webdavlib: 'web/webdavlib',
fastclick: 'cordova/fastclick.min',
- //angular: 'libs/angular.js/angular.min',
- //angularroute: 'libs/angular.js/angular-route.min',
- //angulartouch: 'libs/angular.js/angular-touch.min',
tscore: 'js/core.api',
tssetting: 'js/settings.api',
@@ -110,30 +106,26 @@ requirejs.config({
shim: {
'underscore': { exports: '_' },
'bootstrap': { deps: ['jquery'] },
- 'jquerysimplecolorpicker': { deps: ['jquery','bootstrap'] },
- 'jqueryui': { deps: ['jquery','i18next'] },
+ 'jqueryui': { deps: ['jquery'] },
'jqueryuiwidget': { deps: ['jqueryui'] },
- 'jqueryuimouse': { deps: ['jqueryui','jqueryuiwidget'] },
'jqueryuiposition': { deps: ['jqueryui'] },
+ 'jqueryuimouse': { deps: ['jqueryui','jqueryuiwidget'] },
'jqueryuiselectable': { deps: ['jqueryui','jqueryuiwidget','jqueryuimouse'] },
'jqueryuisortable': { deps: ['jqueryui','jqueryuiwidget','jqueryuimouse'] },
- 'jqueryuidatepicker': { deps: ['jqueryui'] },
- 'jqueryuidroppable': { deps: ['jqueryui','jqueryuiwidget','jqueryuimouse','jqueryuidraggable'] },
- 'jqueryuidraggable': { deps: ['jqueryui','jqueryuiwidget','jqueryuimouse'] },
+ 'jqueryuidroppable': { deps: ['jqueryui','jqueryuimouse','jqueryuidraggable'] },
+ 'jqueryuidraggable': { deps: ['jqueryui','jqueryuimouse'] },
'jqueryuiresizable': { deps: ['jqueryui','jqueryuiwidget','jqueryuimouse'] },
- 'jquerylayout': { deps: ['jquery','jqueryuidraggable' ] },
- 'jquerydropdown': { deps: ['jquery','bootstrap'] },
+ 'jquerylayout': { deps: ['jquery','jqueryui','jqueryuidraggable' ] },
+ 'jquerysimplecolorpicker': { deps: ['jquery','bootstrap'] },
'bootstrap3xeditable': { deps: ['jquery','jqueryui','bootstrap'] },
- 'jquerynanoscroller': { deps: ['jquery'] },
'i18next': { deps: ['jquery'] },
'select2': { deps: ['jquery'] },
'hammerjs': { deps: ['jquery'] },
- //'angular': { deps: ['jquery'] },
- //'angularroute': { deps: ['angular'] },
- //'angulartouch': { deps: ['angular'] },
'tscore': { deps: [
'jquery',
'jqueryui',
+ 'jquerylayout',
+ 'jqueryuimouse',
'jqueryuidraggable',
'jqueryuidroppable',
'jqueryuiresizable',
@@ -144,13 +136,10 @@ requirejs.config({
'bootstrap',
'bootstrap3xeditable',
'jquerysimplecolorpicker',
- 'jquerylayout',
'i18next',
'mousetrap',
'select2',
'handlebarsjs',
- //'angular',
- //'angularroute',
'tssettingsdefault'
] }
}