Skip to content

Commit

Permalink
Merge pull request knockout#615 from SteveSanderson/615-jquery-templa…
Browse files Browse the repository at this point in the history
…tes-braces-regression-fix

Regression with jquery.tmpl
  • Loading branch information
mbest committed Sep 21, 2012
2 parents 7a1c251 + f48c708 commit 7d1c730
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/templating/templateRewriting.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ ko.templateRewriting = (function () {
// anonymous function, even though Opera's built-in debugger can evaluate it anyway. No other browser requires this
// extra indirection.
var applyBindingsToNextSiblingScript =
"ko.__tr_ambtns(function(){return(function(){return{" + rewrittenDataBindAttributeValue + "} })()})";
"ko.__tr_ambtns(function(){return(function(){return{ " + rewrittenDataBindAttributeValue + " } })()})";
return templateEngine['createJavaScriptEvaluatorBlock'](applyBindingsToNextSiblingScript) + tagToRetain;
}

Expand Down

0 comments on commit 7d1c730

Please sign in to comment.