Skip to content
Browse files

update readme for new features

  • Loading branch information...
1 parent e255412 commit 8b1fefd3d8dd0b71384ad9939bc39672ab58bdcc @JerrySievert committed Apr 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
2 README.md
@@ -66,7 +66,7 @@ Filters are more powerful and allow you to process any file as you would like.
var filter = function (record, options, callback) {
record.data = 'var Templates = Templates || { };' +
- 'Templates[\"filename\"] = Handlebars.template("' + handlebars.precompile(record.data) + '");';
+ 'Templates[\"' + record.filename + '\"] = Handlebars.template("' + handlebars.precompile(record.data) + '");';
record.processed = 'injectJS(' + JSON.stringify(record) + ');';
callback(null, record);

0 comments on commit 8b1fefd

Please sign in to comment.
Something went wrong with that request. Please try again.