cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Bond-Caron <>
Subject RE: Module name & plugin id
Date Sat, 31 Aug 2013 16:57:03 GMT
> Is there any reason why the 'module name' isn't the plugin id (when loading
> JavaScript):

In case it helps someone, plugins can have multiple js-module declarations:

    <js-module src="www/CameraPopoverOptions.js" name="CameraPopoverOptions">
        <clobbers target="CameraPopoverOptions" />

This name is appended to the plugin id.

Note: the meaning of "clobbers target" isn't obvious, a suggestion for a more obvious name
could be:
        <assign var="CameraPopoverOptions" />

View raw message