Repository: cordova-wp8
Updated Branches:
  refs/heads/master 001430a4a -> 36282cdb1


Fix AutoloadPlugins

Replace TakeWhile with Where to return all plugins for which onload="true".

Fixes https://issues.apache.org/jira/browse/CB-7858.

Project: http://git-wip-us.apache.org/repos/asf/cordova-wp8/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-wp8/commit/36282cdb
Tree: http://git-wip-us.apache.org/repos/asf/cordova-wp8/tree/36282cdb
Diff: http://git-wip-us.apache.org/repos/asf/cordova-wp8/diff/36282cdb

Branch: refs/heads/master
Commit: 36282cdb1d26f845482438adbb78c6054dbffcfb
Parents: 001430a
Author: Marko <[email protected]>
Authored: Thu Nov 20 23:26:20 2014 +0200
Committer: Marko <[email protected]>
Committed: Thu Nov 20 23:26:20 2014 +0200

----------------------------------------------------------------------
 template/cordovalib/ConfigHandler.cs | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/36282cdb/template/cordovalib/ConfigHandler.cs
----------------------------------------------------------------------
diff --git a/template/cordovalib/ConfigHandler.cs 
b/template/cordovalib/ConfigHandler.cs
index e2575f7..07a7936 100644
--- a/template/cordovalib/ConfigHandler.cs
+++ b/template/cordovalib/ConfigHandler.cs
@@ -186,8 +186,7 @@ namespace WPCordovaClassLib.CordovaLib
         {
             get
             {
-                // TODO:
-                var res = from results in AllowedPlugins.TakeWhile(p => 
p.Value.isAutoLoad)
+                var res = from results in AllowedPlugins.Where(p => 
p.Value.isAutoLoad)
                           select results.Value.Name;
 
                 return res.ToArray<string>();


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

Reply via email to