On Tue Mar 18 04:20 PM, Andrew Grieve wrote:
> No idea :P. Stumbled upon it when I was doing a recent CLI refactoring.
> 
> 

+1 for the change but we'd have to drop the widget namespace, no?
https://github.com/apache/cordova-cli/commit/45e80ac1b2c73a18155e74ac286067a4299742d8#diff-6e0c580ec9d220fc4b32a0ffd9b41595R151


Even tests for it:
https://github.com/apache/cordova-cli/commit/45e80ac1b2c73a18155e74ac286067a4299742d8#diff-3a9ac8021b53843b4e1be5b27e6d7188R241

IMHO, "proper" way to do this would be ~
<preference name="SplashScreen" value=" assets/SplashScreen.png">
<preference name=" wp8/SplashScreen" value=" assets/SplashScreen.png">
<preference name=" [platform]/SplashScreen" value=" assets/SplashScreen.png">

And after removing widget spec:

<platform name="wp8">
   <preference name="SplashScreen" value=" assets/SplashScreen.png">
</platform>

Well anyways, assuming splashcreen is a preference instead of a required image.

But heck looks like inconsistency is winning,
J
 

Reply via email to