aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/Resources/static/themes
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2016-10-04 15:30:05 +0200
committerThomas Citharel <tcit@tcit.fr>2016-10-04 15:30:05 +0200
commit6cb364a2c123b96d245b1ca3c330fd0042c74cd1 (patch)
tree3a31495e0c230b95885cb91362002b36fdcd5d3c /app/Resources/static/themes
parentf733d8aaa329cc2115d0c94ffe9a0cedf98759b2 (diff)
downloadwallabag-6cb364a2c123b96d245b1ca3c330fd0042c74cd1.tar.gz
wallabag-6cb364a2c123b96d245b1ca3c330fd0042c74cd1.tar.zst
wallabag-6cb364a2c123b96d245b1ca3c330fd0042c74cd1.zip
use airbnb base rules and update eslint
Diffstat (limited to 'app/Resources/static/themes')
-rwxr-xr-xapp/Resources/static/themes/baggy/js/init.js5
-rwxr-xr-xapp/Resources/static/themes/material/js/init.js4
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 @@
1import { savePercent, retrievePercent } from '../../_global/js/tools';
2import { toggleSaveLinkForm } from './uiTools';
3
1const $ = global.jquery = require('jquery'); 4const $ = global.jquery = require('jquery');
2require('jquery.cookie'); 5require('jquery.cookie');
3require('jquery-ui-browserify'); 6require('jquery-ui-browserify');
4const annotator = require('annotator'); 7const annotator = require('annotator');
5import { savePercent, retrievePercent } from '../../_global/js/tools.js';
6import { 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 @@
1import { savePercent, retrievePercent, initFilters, initExport } from '../../_global/js/tools';
2
1const $ = require('jquery'); 3const $ = require('jquery');
4
2global.jQuery = $; 5global.jQuery = $;
3require('materialize'); // eslint-disable-line 6require('materialize'); // eslint-disable-line
4const annotator = require('annotator'); 7const annotator = require('annotator');
5import { savePercent, retrievePercent, initFilters, initExport } from '../../_global/js/tools.js';
6 8
7$(document).ready(() => { 9$(document).ready(() => {
8 // sideNav 10 // sideNav