Remove console.debug move to console.log

This caused the mocha_results.xml to contain
the application outpu

refs #4349
This commit is contained in:
Jannis Moßhammer 2013-06-27 11:19:04 +02:00
parent a3e636e0ae
commit 03d8627436
1 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ var defineMock = function() {
fn = arguments[currentArg+1];
for (var i=0;i<argList.length;i++) {
if (typeof registerDependencies[argList[i]] === "undefined" && debug) {
console.warn("Unknown dependency "+argList[i]+" in define()");
// console.warn("Unknown dependency "+argList[i]+" in define()");
}
fnargs.push(registeredDependencies[argList[i]]);
@ -98,7 +98,7 @@ function purgeDependencies() {
};
}
// helper to log debug messages with console
console.debug = console.log;
console.debug = function() {};
/**
* Registers a name=>object map of dependencies