(Happy holidays everyone!)
> What cordova-client should do to better support plugins: > -Instead of considering JS the same as other assets, treat it as a > first-class thing. > -Build cordova.js from source (check it out as a sibling to > cordova-ios.git) Yes. > -Change from listing module->symbol mapping within common.js & > platform.js, to listing this within the plugins themselves. > -Maybe it could go in the plugin.xml? (clobbers / defaults / merges) This would be good as a transition step. > Or, is there dependency info in the plugin.xml? I *think* this would be the right thing to do. > -Problem! What if plugin wants different JS on iOS vs Android (we > really want to encourage x-platform plugins) > -We should allow plugins to use the same directory structure as cordova-js > -E.g. enforce that all JS files have a top-level directory called > "common|android|ios|etc" ya this would be great too > -Old plugins will continue to treat their JS as assets yes, totally
