diff --git a/CHANGELOG b/CHANGELOG index 079a069..065fdfd 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Remove useless binding in Template#evaluate. [Tobie Langel] + * Make Object.inspect more robust. [Tobie Langel] * Add a description to :test and :dist rake tasks. [Christoph Sturm] diff --git a/src/string.js b/src/string.js index 1fa396e..4074402 100644 --- a/src/string.js +++ b/src/string.js @@ -260,7 +260,7 @@ var Template = Class.create({ } return before + String.interpret(ctx); - }.bind(this)); + }); } }); Template.Pattern = /(^|.|\r|\n)(#\{(.*?)\})/;