Permalink
Browse files

Function passed to Meteor.ui.render must return a string.

  • Loading branch information...
1 parent 6042b91 commit 9ebb67a02c94596a754426ec08e4d5cf3eb1841c @skalb committed Apr 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/client/concepts.html
@@ -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

0 comments on commit 9ebb67a

Please sign in to comment.