diff options
Diffstat (limited to 'app')
-rwxr-xr-x | app/Resources/static/themes/baggy/js/init.js | 5 | ||||
-rwxr-xr-x | app/Resources/static/themes/material/js/init.js | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/app/Resources/static/themes/baggy/js/init.js b/app/Resources/static/themes/baggy/js/init.js index 07afd311..dc11043a 100755 --- a/app/Resources/static/themes/baggy/js/init.js +++ b/app/Resources/static/themes/baggy/js/init.js | |||
@@ -1,9 +1,10 @@ | |||
1 | import { savePercent, retrievePercent } from '../../_global/js/tools'; | ||
2 | import { toggleSaveLinkForm } from './uiTools'; | ||
3 | |||
1 | const $ = global.jquery = require('jquery'); | 4 | const $ = global.jquery = require('jquery'); |
2 | require('jquery.cookie'); | 5 | require('jquery.cookie'); |
3 | require('jquery-ui-browserify'); | 6 | require('jquery-ui-browserify'); |
4 | const annotator = require('annotator'); | 7 | const annotator = require('annotator'); |
5 | import { savePercent, retrievePercent } from '../../_global/js/tools.js'; | ||
6 | import { toggleSaveLinkForm } from './uiTools.js'; | ||
7 | 8 | ||
8 | 9 | ||
9 | $.fn.ready(() => { | 10 | $.fn.ready(() => { |
diff --git a/app/Resources/static/themes/material/js/init.js b/app/Resources/static/themes/material/js/init.js index 18f7b40a..a68269e0 100755 --- a/app/Resources/static/themes/material/js/init.js +++ b/app/Resources/static/themes/material/js/init.js | |||
@@ -1,8 +1,10 @@ | |||
1 | import { savePercent, retrievePercent, initFilters, initExport } from '../../_global/js/tools'; | ||
2 | |||
1 | const $ = require('jquery'); | 3 | const $ = require('jquery'); |
4 | |||
2 | global.jQuery = $; | 5 | global.jQuery = $; |
3 | require('materialize'); // eslint-disable-line | 6 | require('materialize'); // eslint-disable-line |
4 | const annotator = require('annotator'); | 7 | const annotator = require('annotator'); |
5 | import { savePercent, retrievePercent, initFilters, initExport } from '../../_global/js/tools.js'; | ||
6 | 8 | ||
7 | $(document).ready(() => { | 9 | $(document).ready(() => { |
8 | // sideNav | 10 | // sideNav |