You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2012/06/21 02:00:56 UTC
[4/12] js commit: removed leftover console.logs
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/46b9d33c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/tree/46b9d33c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/diff/46b9d33c
Branch: refs/heads/master
Commit: 46b9d33ccd0523bd6c77e811efbd99c4ded2d4dc
Parents: 170affb
Author: Jesse MacFadyen <pu...@gmail.com>
Authored: Tue Jun 12 10:11:50 2012 -0700
Committer: Jesse MacFadyen <pu...@gmail.com>
Committed: Wed Jun 13 09:14:12 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/46b9d33c/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;