Github user martincgg commented on the pull request: https://github.com/apache/cordova-mobile-spec/pull/55#issuecomment-41051785 Several changes delivered: -Deleted top level functions. -Used optimist methods to print help. -Changes on paths. -Other minor changes. Clarification about: https://github.com/martincgg/cordova-mobile-spec/blob/fc67802256b5af079b562f88a639fc5354f94857/createmobilespec/createmobilespec.js#L161 That's an anonymous function, declaration and invocation, the reason of that function is that inside pkg, there's all js files for each platform, some of those files are a match with their platform invocation name, but windows phone is not a match, given the fact that cordova.windowsphone.js works for wp7 & wp8. The function is just going to verify if the platform name is wp8, and use windowsphone string to get the right file.
--- 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. ---