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

Preventing plugins to clutter global namespace

    XMLWordPrintableJSON

Details

    Description

      Prevent cluttering the global namespace by putting all plugins under a common namespace that could be cordova.plugins
      A few plugins have already made that move.

      For instance with

      <js-module src="www/device.js" name="device">
      <clobbers target="device" />
      </js-module>

      one would find the plugin at cordova.plugins.device

      Attachments

        Activity

          People

            Unassigned Unassigned
            becvert Sylvain Bréjeon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: