mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-25 21:17:03 +00:00
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:
@@ -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
|
||||
|
||||
@@ -247,7 +247,7 @@ Executable.prototype.loadFileDependencies = function()
|
||||
}
|
||||
|
||||
CPLog("DEPENDENCY: Ended");
|
||||
#end
|
||||
#endif
|
||||
|
||||
for (var executablePath in foundExecutablePaths)
|
||||
if (hasOwnProperty.apply(foundExecutablePaths, [executablePath]))
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user