Merge branch 'bugfix/loadUrl-removed-4349' of ssh://git.icinga.org/icinga2-web

This commit is contained in:
Jannis Moßhammer 2013-06-27 15:32:14 +02:00
commit eaf6314efe
3 changed files with 8 additions and 3 deletions

View File

@ -40,7 +40,6 @@ define([
};
var loadModuleScript = function(name) {
console.log("Loading ", name);
moduleMgr.enableModule("modules/"+name+"/"+name, function(error) {
failedModules.push({
name: name,

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

View File

@ -17,4 +17,10 @@
<directory>regression/</directory>
</testsuite>
</testsuites>
<filter>
<blacklist>
<directory suffix=".php">/usr/share/php</directory>
<directory suffix=".php">/usr/lib</directory>
</blacklist>
</filter>
</phpunit>