mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
Removed {mangle: false} requirement to uglify-js
Improves solution to #4 for javasript files by 12K (in current build).
This commit is contained in:
@ -25,7 +25,7 @@ App.Bootstrap = function(auth, router, util, promise) {
|
||||
|
||||
};
|
||||
|
||||
App.DI.registerSingleton('bootstrap', App.Bootstrap);
|
||||
App.DI.registerSingleton('bootstrap', ['auth', 'router', 'util', 'promise'], App.Bootstrap);
|
||||
App.DI.registerManual('jQuery', function() { return window.$; });
|
||||
App.DI.registerManual('pathJs', function() { return window.Path; });
|
||||
App.DI.registerManual('_', function() { return window._; });
|
||||
|
Reference in New Issue
Block a user