Permalink
Browse files

Merge pull request #115 from dogfeet/patch-priority

Plugin priority does not appear to work, which can be disabling
  • Loading branch information...
2 parents 4f9194a + b913191 commit b020adacb4a706a3818f01ed079d90e1d9c560f9 @balupton balupton committed Jan 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/docpad.coffee
View
@@ -550,7 +550,7 @@ class Docpad
# Next
(err) =>
- @pluginsArray.sort (a,b) -> a.priority < b.priority
+ @pluginsArray.sort (a,b) -> a.priority - b.priority
logger.log 'debug', "Plugins loaded for #{pluginsPath}"
next(err)
)

0 comments on commit b020ada

Please sign in to comment.