Created
March 25, 2014 13:31
-
-
Save ayozebarrera/9761800 to your computer and use it in GitHub Desktop.
Call a template and returns HTML in Meteor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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