Skip to content

Commit

Permalink
doc fix
Browse files Browse the repository at this point in the history
  • Loading branch information
oberhamsi committed Jun 30, 2015
1 parent 82960ea commit 131c6b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/custom-template-tags.md
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,8 @@ for example:

var {Variable} = require("reinhardt/variable");
var FormatTimeNode = function(dateToBeFormatted, formatString) {
this.dateToBeFormatted = new Variable(dateToBeFormatted, formatString)
this.dateToBeFormatted = new Variable(dateToBeFormatted);
this.formatString = formatString;
return this;
}
FormatTimeNode.prototype.render = function(context) {
Expand Down

0 comments on commit 131c6b7

Please sign in to comment.