[
https://issues.apache.org/jira/browse/CB-9036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14594014#comment-14594014
]
ASF subversion and git services commented on CB-9036:
-----------------------------------------------------
Commit 882da8b45c100ec854fe12647fbd77a99c562590 in cordova-lib's branch
refs/heads/master from [~stevegill]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=882da8b ]
CB-9036 clobbers and merges are now written to when doing browserify prepare
> 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]