Skip to content

Commit

Permalink
Merge pull request emberjs#17 from dgeb/cleanup
Browse files Browse the repository at this point in the history
Fixed typo in custom handlebars helper example
  • Loading branch information
wycats committed Dec 24, 2011
2 parents c9344f1 + f57776e commit 4fe7a30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/docs/handlebars.md
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ For example, imagine you are frequently wrapping certain values in a `<span>` ta
<pre class="brush: js;">
Handlebars.registerHelper('highlight', function(property) {
var value = Ember.getPath(this, property);
return new Handlebars.SafeString('<span class="highlight">"+value+'</span>');
return new Handlebars.SafeString('<span class="highlight">'+value+'</span>');
});
</pre>

Expand Down

0 comments on commit 4fe7a30

Please sign in to comment.