cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filip Maj <>
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 <> 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.


See my reply in this JIRA thread:

View raw message