incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [48/50] [abbrv] js commit: [ios] Remove check for iOSVCAddress in setJsToNativeBridgeMode
Date Fri, 24 Aug 2012 21:57:39 GMT
[ios] Remove check for iOSVCAddress in setJsToNativeBridgeMode

The check was running too early and failing. It is excessive anyways, so
just removed it.


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/ae75129f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/tree/ae75129f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/diff/ae75129f

Branch: refs/heads/master
Commit: ae75129fd4d522def98ccc062cf2506d1999a68d
Parents: 775c526
Author: Andrew Grieve <agrieve@chromium.org>
Authored: Mon Aug 20 21:29:12 2012 -0400
Committer: Anis Kadri <anis.kadri@gmail.com>
Committed: Fri Aug 24 13:49:58 2012 -0700

----------------------------------------------------------------------
 lib/ios/exec.js |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/ae75129f/lib/ios/exec.js
----------------------------------------------------------------------
diff --git a/lib/ios/exec.js b/lib/ios/exec.js
index ffe8710..0bb388f 100644
--- a/lib/ios/exec.js
+++ b/lib/ios/exec.js
@@ -115,10 +115,6 @@ iOSExec.setJsToNativeBridgeMode = function(mode) {
         execIframe.parentNode.removeChild(execIframe);
         execIframe = null;
     }
-    if (mode && !cordova.iOSVCAddr) {
-        alert('ViewController not correctly initialized for XHR mode.');
-        mode = 0;
-    }
     bridgeMode = mode;
 };
 


Mime
View raw message