summaryrefslogtreecommitdiffstats
path: root/data/js/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'data/js/main.js')
-rw-r--r--data/js/main.js11
1 files changed, 9 insertions, 2 deletions
diff --git a/data/js/main.js b/data/js/main.js
index f6d81e46c..92c016d79 100644
--- a/data/js/main.js
+++ b/data/js/main.js
@@ -14,8 +14,15 @@ requirejs.config({
'bootstrap': 'vendor/bootstrap.min',
'jquery.tablesorter': 'vendor/jquery.tablesorter.min',
'jquery.lazyload': 'vendor/jquery.lazyload',
- 'jquery.colorbox': 'vendor/jquery.colorbox'
+ 'jquery.colorbox': 'vendor/jquery.colorbox',
+ 'underscore': 'vendor/underscore'
}
});
-require(['application']);
+
+require(['application', 'jquery'], function (App, $) {
+ App.initialize();
+ $(document).ready(function () {
+ App.onPageLoaded(window.appConfig);
+ });
+});
})();