mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Start Discourse in an initializer (#9930)
* DEV: To be pedantic, there is more than EMBER in there now * DEV: Use less globals. Have `Discourse` start in an initializer * DEV: Remove another global
This commit is contained in:
4
app/assets/javascripts/start-discourse.js
Normal file
4
app/assets/javascripts/start-discourse.js
Normal file
@@ -0,0 +1,4 @@
|
||||
// discourse-skip-module
|
||||
(function() {
|
||||
Discourse.start();
|
||||
})();
|
||||
Reference in New Issue
Block a user