Github user vladimir-kotikov commented on a diff in the pull request: https://github.com/apache/cordova-windows/pull/207#discussion_r87751321 --- Diff: template/cordova/lib/PluginInfo.js --- @@ -0,0 +1,109 @@ +var semver = require('semver'); +var CommonPluginInfo = require('cordova-common').PluginInfo; + +var MANIFESTS = { + 'windows': { + '8.1.0': 'package.windows.appxmanifest', + '10.0.0': 'package.windows10.appxmanifest' + }, + 'phone': { + '8.1.0': 'package.phone.appxmanifest', + '10.0.0': 'package.windows10.appxmanifest' + }, + 'all': { + '8.1.0': ['package.windows.appxmanifest', 'package.phone.appxmanifest'], + '10.0.0': 'package.windows10.appxmanifest' + } +}; + +/* +A class for holidng the information currently stored in plugin.xml +It's inherited from cordova-common's PluginInfo class +In addition it overrides getConfigFiles method to use windows-specific logic + */ +function PluginInfo(dirname) { + CommonPluginInfo.apply(this, arguments); + var parentGetConfigFiles = this.getConfigFiles; --- End diff -- Rather than saving this into a variable i'd propose to call `ThisClass.super_.prototype.generate_plugin_config_munge` method directly
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org