Permalink
Browse files

add provided handlebars feature

  • Loading branch information...
1 parent b4fd5e2 commit a8eb790acf60220192703bcc961865ed2d5f0180 @AndersDJohnson AndersDJohnson committed May 6, 2014
Showing with 2 additions and 0 deletions.
  1. +1 −0 CONTRIBUTORS.md
  2. +1 −0 tasks/compile-handlebars.js
View
@@ -8,3 +8,4 @@ These people have gone out of their way to add value to this little tool.
- Martin Götte [github](https://github.com/goette) [twitter](https://twitter.com/mrtngtt)
- Matthew Galizia [github](https://github.com/mattcg) [twitter](https://twitter.com/mcaruanagalizia)
- Scott Timmins [github](https://github.com/stimmins)
+- Anders D. Johnson [github](https://github.com/adjohnson916) [twitter](https://twitter.com/adjohnson916) [website](http://andrz.me)
@@ -133,6 +133,7 @@ module.exports = function(grunt) {
grunt.registerMultiTask('compile-handlebars', 'Compile Handlebars templates ', function() {
var fs = require('fs');
var config = this.data;
+ handlebars = config.handlebars || handlebars;
var templates = getConfig(config.template);
var templateData = config.templateData;
var helpers = getConfig(config.helpers);

0 comments on commit a8eb790

Please sign in to comment.