diff options
Diffstat (limited to 'data/js/application.js')
-rw-r--r-- | data/js/application.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/data/js/application.js b/data/js/application.js index 3118f96bb..2ae412051 100644 --- a/data/js/application.js +++ b/data/js/application.js @@ -5,9 +5,10 @@ define( 'require', 'util', 'lexer-input', + 'tabwidth-input', 'vendor' ], - function (require, Util, LexerInput) { + function (require, Util, LexerInput, TabwidthInput) { require(['script']); var App = { // Gets called for every request (before page load) @@ -21,6 +22,8 @@ define( */ onPageLoaded: function (config) { Util.highlightLineFromHash(); + Util.setTabwidthFromLocalStorage(); + TabwidthInput.initialize(); LexerInput.initialize(config.lexers); }, |