Matthew Simmons created CB-7858:
-----------------------------------

             Summary: Windows Phone 8 - Unless specified before all other 
plugins, 'onload=true' plugins will not run OnInit()
                 Key: CB-7858
                 URL: https://issues.apache.org/jira/browse/CB-7858
             Project: Apache Cordova
          Issue Type: Bug
          Components: WP8
    Affects Versions: 3.5.0
            Reporter: Matthew Simmons
            Assignee: Jesse MacFadyen
            Priority: Minor


On Windows Phone 8, WPCordovaClassLib.CordovaLib.ConfigHandler.AutoLoadPlugins 
contains a LINQ query using TakeWhile

TakeWhile will stop execution once it finds an item that does not match the 
predicate, meaning any autoLoad plugin would have to be specified before all 
other plugins that do not specify autoLoad

Using Where instead of TakeWhile should fix this issue since Where will return 
all matches



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to