Permalink
Browse files

Upgrade to grunt-jquery-content 0.6.2.

  • Loading branch information...
1 parent e679609 commit 8c7c622bc205c2f27d8571fc6387b6fc970f53bd @scottgonzalez scottgonzalez committed Nov 29, 2012
Showing with 3 additions and 2 deletions.
  1. +2 −1 grunt.js
  2. +1 −1 package.json
View
@@ -88,12 +88,13 @@ grunt.registerHelper( "read-order", function( orderFile ) {
grunt.registerHelper( "build-pages-preprocess", (function() {
var orderMap = grunt.helper( "read-order", "order.yml" );
- return function( post, fileName ) {
+ return function( post, fileName, done ) {
var slug = fileName.replace( /^.+?\/(.+)\.\w+$/, "$1" ),
menuOrder = orderMap[ slug ];
if ( menuOrder ) {
post.menuOrder = menuOrder;
}
+ done();
};
})());
View
@@ -25,7 +25,7 @@
"grunt-clean": "0.3.0",
"grunt-html": "0.1.1",
"grunt-wordpress": "1.0.3",
- "grunt-jquery-content": "0.6.1",
+ "grunt-jquery-content": "0.6.2",
"grunt-check-modules": "0.1.0",
"js-yaml": "1.0.2"
}

0 comments on commit 8c7c622

Please sign in to comment.