Skip to content

Commit

Permalink
Function passed to Meteor.ui.render must return a string.
Browse files Browse the repository at this point in the history
  • Loading branch information
skalb committed Apr 19, 2012
1 parent 6042b91 commit 9ebb67a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/client/concepts.html
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ <h2 id="templates">Templates</h2>
automatically in place, use [`Meteor.ui.render`](#meteor_ui_render):

Meteor.ui.render(function () {
Template.hello({first: "Alyssa", last: "Hacker"});
return Template.hello({first: "Alyssa", last: "Hacker"});
})
=> automatically updating DOM elements

Expand Down

0 comments on commit 9ebb67a

Please sign in to comment.