incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Zubkou (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-487) Call to Device.setInfo() from cordova-ios disables asynchronous loading of a cordova-js
Date Tue, 05 Jun 2012 12:23:22 GMT

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

Pavel Zubkou commented on CB-487:
---------------------------------

Let me describe my use case. I have a HTML page which includes require.js to handle all other
scripts dependencies. require.js is responsible for loading all application code, libraries
and condova-js. It is very handy, because I can have one HTML page that will include platform
specific code.

The application which uses this approach is currently in App Store, there is no reason to
reject it because all scripts is guaranteed to be loaded.
                
> Call to Device.setInfo() from cordova-ios disables asynchronous loading of a cordova-js
> ---------------------------------------------------------------------------------------
>
>                 Key: CB-487
>                 URL: https://issues.apache.org/jira/browse/CB-487
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 1.6.0
>            Reporter: Pavel Zubkou
>            Assignee: Shazron Abdullah
>
> On a cordova-android project native side waits before client signals that it is ready.
This allows to asynchronously load cordova-js code.
> But on a cordova-ios project developer must include script tag into HTML to synchronously
load cordova-js because native side expects that it will be available when executing [CDVViewController
webViewDidFinishLoad].
> Is it possible to unify this functionality among platform, to not except that cordova-js
will be ready before DOMContentLoad?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message