[
https://issues.apache.org/jira/browse/CB-9036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14636046#comment-14636046
]
ASF subversion and git services commented on CB-9036:
-----------------------------------------------------
Commit 02ae8a20c1868283fe9086b7e32f41f8b153cdbb in cordova-lib's branch
refs/heads/master from [~stevegill]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=02ae8a2 ]
CB-9036 fixed browserify cordova requires
> plugin JS gets copied multiple times into cordova.js during multiple runs of
> cordova prepare --browserify
> ---------------------------------------------------------------------------------------------------------
>
> Key: CB-9036
> URL: https://issues.apache.org/jira/browse/CB-9036
> Project: Apache Cordova
> Issue Type: Sub-task
> Components: CordovaJS
> Affects Versions: Master
> Reporter: Steve Gill
> Assignee: Steve Gill
>
> Reported by [~dpolivy] on the list.
> "When I run 'cordova prepare -browserify', all I see is the original plugin
> JS files (in /plugins/<name>/www/) end up with the following appended to them
> (note, each time you prepare, it continues to append another iteration):
> window.navigator = window.navigator || {};
> window.navigator.camera = window.navigator.camera || {};
> require('cordova/builder').assignOrWrapInDeprecateGetter(window.navigator,
> 'camera', module.exports);
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]