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 committed 2010-01-31 23:59:58 -08:00
1 parent 97ef1d1781
commit cd98bce331
3 files changed
+5 -6

No files matched your search

+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)