mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 09:04:00 +08:00
12 lines
257 B
JavaScript
12 lines
257 B
JavaScript
// discourse-skip-module
|
|
|
|
(function() {
|
|
if (window.unsupportedBrowser) {
|
|
throw "Unsupported browser detected";
|
|
}
|
|
let Discourse = requirejs("discourse/app").default;
|
|
|
|
// ensure Discourse is added as a global
|
|
window.Discourse = Discourse;
|
|
})();
|