You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jesse MacFadyen (JIRA)" <ji...@apache.org> on 2015/10/27 08:14:27 UTC

[jira] [Created] (CB-9874) Sloppy object code demonstrates poor javascript

Jesse MacFadyen created CB-9874:
-----------------------------------

             Summary: Sloppy object code demonstrates poor javascript
                 Key: CB-9874
                 URL: https://issues.apache.org/jira/browse/CB-9874
             Project: Apache Cordova
          Issue Type: Improvement
          Components: Plugin Device
            Reporter: Jesse MacFadyen
            Assignee: Jesse MacFadyen
            Priority: Minor


The javascript code creates an object and prototype which is not exposed outside it's own module.  It simply exports a 'new' object.

We should be providing best practice code in our core plugins, especially the simpler ones.



--
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