re-add qunit bootstrap conditional
Dieser Commit ist enthalten in:
Ursprung
576d96b2ba
Commit
3abb65294c
1 geänderte Dateien mit 20 neuen und 18 gelöschten Zeilen
|
@ -1,6 +1,7 @@
|
||||||
// discourse-skip-module
|
// discourse-skip-module
|
||||||
/*global document, Logster, QUnit */
|
/*global document, Logster, QUnit */
|
||||||
|
|
||||||
|
if (window.location.pathname.indexOf("/w/") > -1 && Ember.testing) {
|
||||||
document.addEventListener("DOMContentLoaded", function () {
|
document.addEventListener("DOMContentLoaded", function () {
|
||||||
document.body.insertAdjacentHTML(
|
document.body.insertAdjacentHTML(
|
||||||
"afterbegin",
|
"afterbegin",
|
||||||
|
@ -22,3 +23,4 @@ if (window.Logster) {
|
||||||
} else {
|
} else {
|
||||||
window.Logster = { enabled: false };
|
window.Logster = { enabled: false };
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
Laden …
In neuem Issue referenzieren