Turned off logging by default, removed unecessary logs, and fixed bug where turning of logs broke the build.

Reviewed by me.
This commit is contained in:
Francisco Ryan Tolmasky I
2010-01-31 23:59:58 -08:00
parent 97ef1d1781
commit cd98bce331
3 changed files with 5 additions and 6 deletions
+2 -3
View File
@@ -1,7 +1,6 @@
#define DEPENDENCY_LOGGING 1
#define STATIC_RESOURCE_LOGGING 1
#define EXECUTION_LOGGING 1
#define DEPENDENCY_LOGGING 0
#define EXECUTION_LOGGING 0
#if BROWSER
#define CPLog console.log
+1 -1
View File
@@ -247,7 +247,7 @@ Executable.prototype.loadFileDependencies = function()
}
CPLog("DEPENDENCY: Ended");
#end
#endif
for (var executablePath in foundExecutablePaths)
if (hasOwnProperty.apply(foundExecutablePaths, [executablePath]))
+2 -2
View File
@@ -377,9 +377,9 @@ StaticResourceNode.resolveStandardNodeAtPath = function(/*String*/ aPath, /*Func
resolveStandardNodeAtPath = function(/*String*/ aPath, /*int*/ anIndex)
{
var searchPath = FILE.absolute(FILE.join(includePaths[anIndex], FILE.normal(aPath)));
if (searchPath.indexOf("CPObject.j") !== -1) CPLog("WILL SEARCH IN: " + searchPath);
rootNode.resolveSubPath(searchPath, StaticResourceNode.FileType, function(/*StaticResourceNode*/ aStaticResourceNode)
{if (searchPath.indexOf("CPObject.j") !== -1) CPLog("FOUND...: " + aStaticResourceNode);
{
if (!aStaticResourceNode)
{
if (anIndex + 1< includePaths.length)