mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
Added page title management (closed #33)
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
var App = App || {};
|
||||
|
||||
App.Bootstrap = function(auth, router, util, promise) {
|
||||
App.Bootstrap = function(auth, router, util, promise, presenterManager) {
|
||||
|
||||
util.initPresenter('topNavigationPresenter');
|
||||
presenterManager.init();
|
||||
|
||||
promise.wait(auth.tryLoginFromCookie())
|
||||
.then(startRouting)
|
||||
@ -25,7 +25,7 @@ App.Bootstrap = function(auth, router, util, promise) {
|
||||
|
||||
};
|
||||
|
||||
App.DI.registerSingleton('bootstrap', ['auth', 'router', 'util', 'promise'], App.Bootstrap);
|
||||
App.DI.registerSingleton('bootstrap', ['auth', 'router', 'util', 'promise', 'presenterManager'], 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