Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-9874

Sloppy object code demonstrates poor javascript

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: In Progress
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: cordova-plugin-device
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              purplecabbage Jesse MacFadyen
              Reporter:
              purplecabbage Jesse MacFadyen
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: