From ddada18069e33dccabc38cb67cf6316a9d37298d Mon Sep 17 00:00:00 2001 From: Francisco Ryan Tolmasky I Date: Tue, 13 Oct 2009 16:03:36 -0700 Subject: [PATCH] Removed logs. Reviewed by me. --- Foundation/CPBundle.j | 5 ++--- .../objective-j/lib-js/objective-j/jake/bundletask.js | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Foundation/CPBundle.j b/Foundation/CPBundle.j index e7423f420..503acb38e 100644 --- a/Foundation/CPBundle.j +++ b/Foundation/CPBundle.j @@ -104,10 +104,9 @@ } - (CPString)pathForResource:(CPString)aFilename -{console.log("?!!!!!!!"); +{ var path = [self resourcePath] + '/' + aFilename, - mappedPath = _URIMap["Resources/" + aFilename];//path]; -console.log("~!THE MAPPED PATH FOR " + path + " IS " + mappedPath); + mappedPath = _URIMap["Resources/" + aFilename]; if (mappedPath) return mappedPath; diff --git a/Objective-J/CommonJS/objective-j/lib-js/objective-j/jake/bundletask.js b/Objective-J/CommonJS/objective-j/lib-js/objective-j/jake/bundletask.js index 428ef4e16..f4901ffe4 100644 --- a/Objective-J/CommonJS/objective-j/lib-js/objective-j/jake/bundletask.js +++ b/Objective-J/CommonJS/objective-j/lib-js/objective-j/jake/bundletask.js @@ -503,7 +503,7 @@ BundleTask.prototype.defineStaticTask = function() { var resourcePath = "Resources/" + FILE.relative(resourcesPath, aFilename); - if (IMAGE_EXTENSIONS.indexOf(FILE.extname(aFilename)) !== -1) + if (IMAGE_EXTENSIONS.indexOf(FILE.extension(aFilename)) !== -1) fileStream.write("u;"); else fileStream.write("p;");