summaryrefslogtreecommitdiffstats
path: root/data/js/application.js
diff options
context:
space:
mode:
Diffstat (limited to 'data/js/application.js')
-rw-r--r--data/js/application.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/data/js/application.js b/data/js/application.js
index 76ed5ae55..06a53854d 100644
--- a/data/js/application.js
+++ b/data/js/application.js
@@ -21,12 +21,11 @@ define(
* Gets called for every request after page load
* config contains app config attributes passed from php
*/
- onPageLoaded: function (config) {
- config = config || {};
+ onPageLoaded: function () {
Util.highlightLineFromHash();
Util.setTabwidthFromLocalStorage();
TabwidthInput.initialize();
- LexerInput.initialize(config.lexers);
+ LexerInput.initialize();
ThumbnailView.initialize();
this.configureTooltips();
this.setupToggleSelectAllEvent();