incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purplecabb...@apache.org
Subject [7/12] js commit: removed leftover console.logs
Date Thu, 21 Jun 2012 00:00:56 GMT
removed leftover console.logs


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/commit/f1a1d286
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/tree/f1a1d286
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/diff/f1a1d286

Branch: refs/heads/master
Commit: f1a1d2869c085a952ea974180cb05a2d04ada644
Parents: 18a6917
Author: Jesse MacFadyen <purplecabbage@gmail.com>
Authored: Tue Jun 12 10:11:50 2012 -0700
Committer: Jesse MacFadyen <purplecabbage@gmail.com>
Committed: Tue Jun 12 10:11:50 2012 -0700

----------------------------------------------------------------------
 lib/wp7/plugin/wp7/XHRPatch.js |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/f1a1d286/lib/wp7/plugin/wp7/XHRPatch.js
----------------------------------------------------------------------
diff --git a/lib/wp7/plugin/wp7/XHRPatch.js b/lib/wp7/plugin/wp7/XHRPatch.js
index a16c4ef..c14ae7a 100644
--- a/lib/wp7/plugin/wp7/XHRPatch.js
+++ b/lib/wp7/plugin/wp7/XHRPatch.js
@@ -105,7 +105,6 @@ if (!docDomain || docDomain.length === 0) {
                 return this.wrappedXHR.open(reqType, uri, isAsync, user, password);
             }
             else {
-                console.log("url is " + uri);
                 // x-wmapp1://app/www/page2.html
                 // need to work some magic on the actual url/filepath
                 var newUrl = uri;
@@ -146,13 +145,10 @@ if (!docDomain || docDomain.length === 0) {
         responseXML: "",
         onResult: function (res) {
             this.status = 200;
-            console.log("onResult XHR :: " + res);
-            console.log("typeof = " + typeof res);
             if(typeof res == "object")
             {   // callback result handler may have already parsed this from a string->
a JSON object,
                 // if so, we need to restore it's stringyness, as handlers are expecting
string data.
                 // especially if used with jQ -> $.getJSON
-                console.log("re-stringing the guitar");
                 res = JSON.stringify(res);
             }
             this.responseText = res;


Mime
View raw message