incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-1258) Add documentation for the new logic to toggle between different exec() techniques on iOS.
Date Thu, 30 Aug 2012 22:46:10 GMT

    [ https://issues.apache.org/jira/browse/CB-1258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13445375#comment-13445375
] 

Shazron Abdullah commented on CB-1258:
--------------------------------------

For xhr:
{code}
var exec = cordova.require('cordova/exec');
exec.setJsToNativeBridgeMode(exec.jsToNativeModes.XHR_OPTIONAL_PAYLOAD);
{code}

For iframe:
{code}
var exec = cordova.require('cordova/exec');
exec.setJsToNativeBridgeMode(exec.jsToNativeModes.IFRAME_NAV);
{code}

I just don't know where to really put it.
                
> Add documentation for the new logic to toggle between different exec() techniques on
iOS.
> -----------------------------------------------------------------------------------------
>
>                 Key: CB-1258
>                 URL: https://issues.apache.org/jira/browse/CB-1258
>             Project: Apache Cordova
>          Issue Type: Task
>          Components: Docs, iOS
>    Affects Versions: 2.1.0
>            Reporter: Shazron Abdullah
>            Assignee: Shazron Abdullah
>             Fix For: 2.1.0
>
>
> Docs for this change: https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-js.git;a=commit;h=d5a72028
> It defaults to the existing iframe.src method, so existing users are not affected.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message