diff options
author | Thomas Citharel <tcit@tcit.fr> | 2016-10-04 15:30:05 +0200 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2016-10-04 15:30:05 +0200 |
commit | 6cb364a2c123b96d245b1ca3c330fd0042c74cd1 (patch) | |
tree | 3a31495e0c230b95885cb91362002b36fdcd5d3c /app | |
parent | f733d8aaa329cc2115d0c94ffe9a0cedf98759b2 (diff) | |
download | wallabag-6cb364a2c123b96d245b1ca3c330fd0042c74cd1.tar.gz wallabag-6cb364a2c123b96d245b1ca3c330fd0042c74cd1.tar.zst wallabag-6cb364a2c123b96d245b1ca3c330fd0042c74cd1.zip |
use airbnb base rules and update eslint
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 |