incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filip Maj <...@adobe.com>
Subject Re: Advice for upgrading iOS plugins for 1.6?
Date Tue, 10 Apr 2012 02:31:35 GMT

>On Mon, Apr 9, 2012 at 14:10, Becky Gibson <gibson.becky@gmail.com> wrote:
>
>> We might want to consider something similar for Cordova.hasResource()
>
>
>If, long-term (2.0?), plugins are authored as "modules", then I think most
>of the uses of hasResource()/addResource() go away.  Most of the uses that
>I've seen use a pattern of calls to these functions to ensure the plugin
>code is only "run" once.  For "modules", there's a guarantee that the code
>is only run once - when the module is first require()'d.

+1

See my reply in this JIRA thread:
https://issues.apache.org/jira/browse/CB-298?focusedCommentId=13238727&page
=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-1
3238727


Mime
View raw message