You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by an...@apache.org on 2012/08/24 23:57:38 UTC

[3/50] [abbrv] js commit: Change the default JS->Native bridge mode on iOS to XHR.

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

Branch: refs/heads/master
Commit: c26fa40e3f03f3ebddbf10e769799478ff608850
Parents: f043d4e
Author: Andrew Grieve <ag...@chromium.org>
Authored: Thu Aug 23 23:43:50 2012 -0400
Committer: Anis Kadri <an...@gmail.com>
Committed: Fri Aug 24 13:50:04 2012 -0700

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


http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/c26fa40e/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;