aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/Resources/static/themes/baggy/js/init.js
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2016-11-03 10:02:16 +0100
committerThomas Citharel <tcit@tcit.fr>2016-11-15 21:55:10 +0100
commit5637a26e9af98a05c76823c85611315cd1a986e0 (patch)
tree862469ed65589c18dca9f69914eda94ddf221cde /app/Resources/static/themes/baggy/js/init.js
parent16ef7607f43ebc3e0134360b7657af191e14fe12 (diff)
downloadwallabag-5637a26e9af98a05c76823c85611315cd1a986e0.tar.gz
wallabag-5637a26e9af98a05c76823c85611315cd1a986e0.tar.zst
wallabag-5637a26e9af98a05c76823c85611315cd1a986e0.zip
Bring navigation (with right, left and enter) on material entries page. Supports going to next and previous page !
Also better indentation for js files (changed editorconfig for them). Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'app/Resources/static/themes/baggy/js/init.js')
-rwxr-xr-xapp/Resources/static/themes/baggy/js/init.js12
1 files changed, 9 insertions, 3 deletions
diff --git a/app/Resources/static/themes/baggy/js/init.js b/app/Resources/static/themes/baggy/js/init.js
index 5a8911ad..05360a28 100755
--- a/app/Resources/static/themes/baggy/js/init.js
+++ b/app/Resources/static/themes/baggy/js/init.js
@@ -1,7 +1,5 @@
1/* jQuery */
1import $ from 'jquery'; 2import $ from 'jquery';
2import { initFilters, initExport } from '../../_global/js/tools';
3import './shortcuts/main.js';
4import './shortcuts/entry.js';
5 3
6/* eslint-disable no-unused-vars */ 4/* eslint-disable no-unused-vars */
7/* jquery has default scope */ 5/* jquery has default scope */
@@ -9,8 +7,16 @@ import cookie from 'jquery.cookie';
9import ui from 'jquery-ui-browserify'; 7import ui from 'jquery-ui-browserify';
10/* eslint-enable no-unused-vars */ 8/* eslint-enable no-unused-vars */
11 9
10/* Annotations */
12import annotator from 'annotator'; 11import annotator from 'annotator';
13 12
13/* Shortcuts */
14import './shortcuts/main';
15import './shortcuts/entry';
16import '../../_global/js/shortcuts/main';
17import '../../_global/js/shortcuts/entry';
18
19/* Tools */
14import { savePercent, retrievePercent } from '../../_global/js/tools'; 20import { savePercent, retrievePercent } from '../../_global/js/tools';
15import toggleSaveLinkForm from './uiTools'; 21import toggleSaveLinkForm from './uiTools';
16 22