summaryrefslogtreecommitdiffstats
path: root/data/js/application.js
diff options
context:
space:
mode:
authorJoakim Reinert <mail@jreinert.com>2015-04-29 22:42:55 +0200
committerFlorian Pritz <bluewind@xinu.at>2015-05-05 12:21:27 +0200
commitf7da6a0ee8c3b79deb8995e592a130a4a409dc70 (patch)
tree3dc0931089a50aff9211c50273319f52c8c46388 /data/js/application.js
parentf0be7e7412721039cdd37798fe294dd5cb41d216 (diff)
Refactor thumbnail view js
Diffstat (limited to 'data/js/application.js')
-rw-r--r--data/js/application.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/data/js/application.js b/data/js/application.js
index a82c193c8..76ed5ae55 100644
--- a/data/js/application.js
+++ b/data/js/application.js
@@ -6,9 +6,10 @@ define(
'util',
'lexer-input',
'tabwidth-input',
+ 'thumbnail-view',
'vendor'
],
- function (require, Util, LexerInput, TabwidthInput) {
+ function (require, Util, LexerInput, TabwidthInput, ThumbnailView) {
require(['script']);
var App = {
// Gets called for every request (before page load)
@@ -26,6 +27,7 @@ define(
Util.setTabwidthFromLocalStorage();
TabwidthInput.initialize();
LexerInput.initialize(config.lexers);
+ ThumbnailView.initialize();
this.configureTooltips();
this.setupToggleSelectAllEvent();
this.setupLineWrapToggle();