mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
Use pretender's passthrough for dynamically loaded scripts
This commit is contained in:
@ -75,9 +75,6 @@ Discourse.injectTestHelpers();
|
||||
Discourse.runInitializers();
|
||||
Discourse.start();
|
||||
Discourse.Route.mapRoutes();
|
||||
Discourse.HighlightJSPath = "/highlight.js";
|
||||
// messy but we need to pass tests
|
||||
window.hljs = {highlightBlock: function(){}}
|
||||
|
||||
// disable logster error reporting
|
||||
if (window.Logster) {
|
||||
|
Reference in New Issue
Block a user