diff options
author | Joakim Reinert <mail@jreinert.com> | 2015-04-29 22:42:55 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2015-05-05 12:21:27 +0200 |
commit | f7da6a0ee8c3b79deb8995e592a130a4a409dc70 (patch) | |
tree | 3dc0931089a50aff9211c50273319f52c8c46388 /data/js/application.js | |
parent | f0be7e7412721039cdd37798fe294dd5cb41d216 (diff) |
Refactor thumbnail view js
Diffstat (limited to 'data/js/application.js')
-rw-r--r-- | data/js/application.js | 4 |
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(); |