diff options
author | Thomas Citharel <tcit@tcit.fr> | 2016-10-27 01:57:27 +0200 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2016-11-15 21:54:41 +0100 |
commit | af61cb80eb600618df95a01a15a08e87fc878c2a (patch) | |
tree | 3e5ba0c9935b5aace5e5c58a8d3fd84621d4b0db /app/Resources/static/themes/material | |
parent | f9cded7dd2acab3af8ff8481941e0c199daf8270 (diff) | |
download | wallabag-af61cb80eb600618df95a01a15a08e87fc878c2a.tar.gz wallabag-af61cb80eb600618df95a01a15a08e87fc878c2a.tar.zst wallabag-af61cb80eb600618df95a01a15a08e87fc878c2a.zip |
es6 imports
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'app/Resources/static/themes/material')
-rwxr-xr-x | app/Resources/static/themes/material/js/init.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Resources/static/themes/material/js/init.js b/app/Resources/static/themes/material/js/init.js index a68269e0..d8edeed1 100755 --- a/app/Resources/static/themes/material/js/init.js +++ b/app/Resources/static/themes/material/js/init.js | |||
@@ -1,10 +1,10 @@ | |||
1 | import $ from 'jquery'; | ||
2 | import annotator from 'annotator'; | ||
1 | import { savePercent, retrievePercent, initFilters, initExport } from '../../_global/js/tools'; | 3 | import { savePercent, retrievePercent, initFilters, initExport } from '../../_global/js/tools'; |
2 | 4 | ||
3 | const $ = require('jquery'); | 5 | require('materialize'); // eslint-disable-line |
4 | 6 | ||
5 | global.jQuery = $; | 7 | global.jQuery = $; |
6 | require('materialize'); // eslint-disable-line | ||
7 | const annotator = require('annotator'); | ||
8 | 8 | ||
9 | $(document).ready(() => { | 9 | $(document).ready(() => { |
10 | // sideNav | 10 | // sideNav |