[ https://issues.apache.org/jira/browse/CB-7858?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14220115#comment-14220115 ]
ASF subversion and git services commented on CB-7858: ----------------------------------------------------- Commit 36282cdb1d26f845482438adbb78c6054dbffcfb in cordova-wp8's branch refs/heads/master from [~MMrko] [ https://git-wip-us.apache.org/repos/asf?p=cordova-wp8.git;h=36282cd ] Fix AutoloadPlugins Replace TakeWhile with Where to return all plugins for which onload="true". Fixes https://issues.apache.org/jira/browse/CB-7858. > 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: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org