diff options
author | Joakim Reinert <mail@jreinert.com> | 2015-05-01 23:50:38 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2015-05-05 12:21:27 +0200 |
commit | a5cde5f11ba4d773bd7b369596f5bb00a0e1666e (patch) | |
tree | 537a57e3b02de9ab74e898f921c3971cd2fe04b6 /data/js/application.js | |
parent | b76a85e2992000bd6fa21a58050ffcac0f8fba39 (diff) |
Extract tablesorter js and encapsulate
Diffstat (limited to 'data/js/application.js')
-rw-r--r-- | data/js/application.js | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/data/js/application.js b/data/js/application.js index 9db8d8398..dedefbc3b 100644 --- a/data/js/application.js +++ b/data/js/application.js @@ -8,9 +8,18 @@ define( 'tabwidth-input', 'thumbnail-view', 'uploader', + 'tablesorter', 'vendor' ], - function (require, Util, LexerInput, TabwidthInput, ThumbnailView, Uploader) { + function ( + require, + Util, + LexerInput, + TabwidthInput, + ThumbnailView, + Uploader, + TableSorter + ) { require(['script']); var App = { // Gets called for every request (before page load) @@ -29,6 +38,7 @@ define( LexerInput.initialize(); ThumbnailView.initialize(); Uploader.initialize(); + TableSorter.initialize(); this.configureTooltips(); this.setupToggleSelectAllEvent(); this.setupLineWrapToggle(); |