cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaz...@apache.org
Subject ios commit: Update guides/Changing the JavaScript to Native Bridge Mode.md
Date Fri, 14 Dec 2012 18:30:54 GMT
Updated Branches:
  refs/heads/master fa6d40a22 -> 33f2e000f


Update guides/Changing the JavaScript to Native Bridge Mode.md


Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/33f2e000
Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/33f2e000
Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/33f2e000

Branch: refs/heads/master
Commit: 33f2e000fdb215bad8d53cee6b9b77139acde877
Parents: fa6d40a
Author: raymatos <matos.ray@gmail.com>
Authored: Thu Dec 13 01:14:20 2012 -0500
Committer: Shazron Abdullah <shazron@apache.org>
Committed: Fri Dec 14 10:30:42 2012 -0800

----------------------------------------------------------------------
 ...hanging the JavaScript to Native Bridge Mode.md |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/33f2e000/guides/Changing the JavaScript
to Native Bridge Mode.md
----------------------------------------------------------------------
diff --git a/guides/Changing the JavaScript to Native Bridge Mode.md b/guides/Changing the
JavaScript to Native Bridge Mode.md
index 8842d5c..91f0192 100644
--- a/guides/Changing the JavaScript to Native Bridge Mode.md	
+++ b/guides/Changing the JavaScript to Native Bridge Mode.md	
@@ -24,13 +24,13 @@ In Cordova 2.1.0 for iOS, we changed the default bridge mode from using
an **ifr
 
 In iOS 4.2.1 however, Cordova defaults back to **iframe** mode because of [a bug](https://issues.apache.org/jira/browse/CB-1296)
 
-To change the bridge mode back to the **iframe** method, do this in your **deviceready**
hander:
+To change the bridge mode back to the **xhr** method, do this in your **deviceready** hander:
 
         var exec = cordova.require('cordova/exec');
         exec.setJsToNativeBridgeMode(exec.jsToNativeModes.XHR_OPTIONAL_PAYLOAD);
 
 
-To change the bridge mode back to the **xhr** method:
+To change the bridge mode back to the **iframe** method:
 
         var exec = cordova.require('cordova/exec');
         exec.setJsToNativeBridgeMode(exec.jsToNativeModes.IFRAME_NAV);


Mime
View raw message