cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Gill (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-9037) add a transform for plugins that use cordova.define
Date Mon, 18 May 2015 23:57:00 GMT
Steve Gill created CB-9037:
------------------------------

             Summary: add a transform for plugins that use cordova.define
                 Key: CB-9037
                 URL: https://issues.apache.org/jira/browse/CB-9037
             Project: Apache Cordova
          Issue Type: Sub-task
          Components: CordovaJS
    Affects Versions: Master
            Reporter: Steve Gill
            Assignee: Steve Gill


Reported by Dan Polivy

cordova.define() doesn't seem to be defined in the browserify model. Is this a legacy plugin
definition approach? I couldn't find any documentation about it, but I don't see it being
used in any of the current Apache plugins. I'm running into it with the barcodescanner plugin
(https://github.com/wildabeast/BarcodeScanner/blob/master/www/barcodescanner.js#L132); commenting
it out seems to work fine. Does this need to be translated in the browserify code?

We should see if we can solve this when we run our transforms https://github.com/apache/cordova-js/blob/master/tasks/lib/require-tr.js



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message