Skip to content

Commit 9702bbc

Browse files
Merge pull request #19 from adjohnson916/master
add provided handlebars feature
2 parents b4fd5e2 + a8eb790 commit 9702bbc

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CONTRIBUTORS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ These people have gone out of their way to add value to this little tool.
88
- Martin Götte [github](https://github.com/goette) [twitter](https://twitter.com/mrtngtt)
99
- Matthew Galizia [github](https://github.com/mattcg) [twitter](https://twitter.com/mcaruanagalizia)
1010
- Scott Timmins [github](https://github.com/stimmins)
11+
- Anders D. Johnson [github](https://github.com/adjohnson916) [twitter](https://twitter.com/adjohnson916) [website](http://andrz.me)

tasks/compile-handlebars.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ module.exports = function(grunt) {
133133
grunt.registerMultiTask('compile-handlebars', 'Compile Handlebars templates ', function() {
134134
var fs = require('fs');
135135
var config = this.data;
136+
handlebars = config.handlebars || handlebars;
136137
var templates = getConfig(config.template);
137138
var templateData = config.templateData;
138139
var helpers = getConfig(config.helpers);

0 commit comments

Comments
 (0)