Skip to content

Instantly share code, notes, and snippets.

@ayozebarrera
Created March 25, 2014 13:31
Show Gist options
  • Save ayozebarrera/9761800 to your computer and use it in GitHub Desktop.
Save ayozebarrera/9761800 to your computer and use it in GitHub Desktop.
Call a template and returns HTML in Meteor
var templateName = 'name';
var fragment = Meteor.render( function() {
return Template[ templateName ]();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment