Skip to content

Commit

Permalink
Merge pull request #81 from jryans/helper-callback
Browse files Browse the repository at this point in the history
Allow helper callback to use template path
  • Loading branch information
SlexAxton committed Jan 4, 2013
2 parents b3971db + dfa7f87 commit 6b0a5e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hbs.js
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ define([
: function (name){return (config.hbs && config.hbs.helperDirectory ? config.hbs.helperDirectory : helperDirectory) + name;};

for ( i = 0; i < helps.length; i++ ) {
paths[i] = "'" + pathGetter(helps[i]) + "'"
paths[i] = "'" + pathGetter(helps[i], path) + "'"
}
return paths;
})().join(','),
Expand Down

0 comments on commit 6b0a5e0

Please sign in to comment.