Skip to content
This repository has been archived by the owner. It is now read-only.
Browse files
Fix AutoloadPlugins
Replace TakeWhile with Where to return all plugins for which onload="true".

  • Loading branch information
mmrko committed Nov 20, 2014
1 parent 001430a commit 36282cdb1d26f845482438adbb78c6054dbffcfb
Showing 1 changed file with 1 addition and 2 deletions.
@@ -186,8 +186,7 @@ public string[] AutoloadPlugins
// 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>();

0 comments on commit 36282cd

Please sign in to comment.