From a5cde5f11ba4d773bd7b369596f5bb00a0e1666e Mon Sep 17 00:00:00 2001 From: Joakim Reinert Date: Fri, 1 May 2015 23:50:38 +0200 Subject: Extract tablesorter js and encapsulate --- data/js/application.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'data/js/application.js') 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(); -- cgit v1.2.3-24-g4f1b