don't display debug information when running tests
This commit is contained in:
@@ -4864,10 +4864,12 @@ define("backburner",
|
||||
}
|
||||
}
|
||||
|
||||
var diff = new Date().getTime() - t2;
|
||||
|
||||
if ((typeof console !== 'undefined') && console.log && diff > 10) {
|
||||
console.log("Backburner: " + (new Date() - t2) + "ms");
|
||||
// make sure we can output to the console and we're not running QUnit tests
|
||||
if ((typeof console !== 'undefined') && console.log && !window.QUnit) {
|
||||
var diff = new Date().getTime() - t2;
|
||||
if (diff > 10) {
|
||||
console.log("Backburner: " + (new Date() - t2) + "ms");
|
||||
}
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user