mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
Refactor: Move initialization code into separate initializers that use the API we
developed for plugins.
This commit is contained in:
parent
de78ee302a
commit
274743b877
14 changed files with 219 additions and 189 deletions
|
@ -104,7 +104,7 @@ d.write('<style>#ember-testing-container { position: absolute; background: white
|
|||
Discourse.rootElement = '#ember-testing';
|
||||
Discourse.setupForTesting();
|
||||
Discourse.injectTestHelpers();
|
||||
Discourse.bindDOMEvents();
|
||||
Discourse.runInitializers();
|
||||
|
||||
Discourse.Router.map(function() {
|
||||
Discourse.routeBuilder.call(this);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue