summaryrefslogtreecommitdiffstats
path: root/data/js/application.js
diff options
context:
space:
mode:
authorJoakim Reinert <mail@jreinert.com>2015-05-01 22:30:12 +0200
committerFlorian Pritz <bluewind@xinu.at>2015-05-05 12:21:27 +0200
commitb7d501a42b2245ef1fc33171f9b53565e176c648 (patch)
treed6f575cfbc0e5c642c54e445fe15314b6d584bfc /data/js/application.js
parentda835670f796774d1f98c05dfdf7da1c7ba2655a (diff)
Refactor file uploader 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 06a53854d..9db8d8398 100644
--- a/data/js/application.js
+++ b/data/js/application.js
@@ -7,9 +7,10 @@ define(
'lexer-input',
'tabwidth-input',
'thumbnail-view',
+ 'uploader',
'vendor'
],
- function (require, Util, LexerInput, TabwidthInput, ThumbnailView) {
+ function (require, Util, LexerInput, TabwidthInput, ThumbnailView, Uploader) {
require(['script']);
var App = {
// Gets called for every request (before page load)
@@ -27,6 +28,7 @@ define(
TabwidthInput.initialize();
LexerInput.initialize();
ThumbnailView.initialize();
+ Uploader.initialize();
this.configureTooltips();
this.setupToggleSelectAllEvent();
this.setupLineWrapToggle();