You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2014/11/20 23:17:28 UTC

cordova-wp8 git commit: Fix AutoloadPlugins

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 <ma...@gmail.com>
Authored: Thu Nov 20 23:26:20 2014 +0200
Committer: Marko <ma...@gmail.com>
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: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org