You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2012/08/21 03:31:03 UTC
js commit: [ios] Remove check for iOSVCAddress in
setJsToNativeBridgeMode
Updated Branches:
refs/heads/master 188232f42 -> 7b33b31a9
[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/7b33b31a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/tree/7b33b31a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/diff/7b33b31a
Branch: refs/heads/master
Commit: 7b33b31a909a156f7d59db40c6a04fce1a476c46
Parents: 188232f
Author: Andrew Grieve <ag...@chromium.org>
Authored: Mon Aug 20 21:29:12 2012 -0400
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Mon Aug 20 21:30:20 2012 -0400
----------------------------------------------------------------------
lib/ios/exec.js | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/7b33b31a/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;
};