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/24 05:44:18 UTC
js commit: Change the default JS->Native bridge mode on iOS to XHR.
Updated Branches:
refs/heads/master e4448110f -> aa1380d84
Change the default JS->Native bridge mode on iOS to XHR.
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/aa1380d8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/tree/aa1380d8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/diff/aa1380d8
Branch: refs/heads/master
Commit: aa1380d84261132399900ddb2d52f6b440cef694
Parents: e444811
Author: Andrew Grieve <ag...@chromium.org>
Authored: Thu Aug 23 23:43:50 2012 -0400
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Thu Aug 23 23:43:50 2012 -0400
----------------------------------------------------------------------
lib/ios/exec.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/aa1380d8/lib/ios/exec.js
----------------------------------------------------------------------
diff --git a/lib/ios/exec.js b/lib/ios/exec.js
index 0bb388f..68456fb 100644
--- a/lib/ios/exec.js
+++ b/lib/ios/exec.js
@@ -14,7 +14,7 @@ var cordova = require('cordova'),
XHR_WITH_PAYLOAD: 2,
XHR_OPTIONAL_PAYLOAD: 3
},
- bridgeMode = jsToNativeModes.IFRAME_NAV,
+ bridgeMode = jsToNativeModes.XHR_OPTIONAL_PAYLOAD,
execIframe,
execXhr;