Created
July 9, 2014 20:05
-
-
Save ciwolsey/edcd8e4bdab36a080838 to your computer and use it in GitHub Desktop.
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
<template name="UserStatusList"> | |
<div id="UserStatusList"> | |
{{#each onlineUser}} | |
<div class="username" style="background-color: {{profile.textcolor}}"> | |
{{ profile.username}} | |
</div> | |
{{>foo}} | |
{{/each}} | |
</div> | |
</template> | |
<template name="foo"> | |
hello | |
</template> | |
----------------------- | |
Template.foo.rendered = function(){ | |
console.log("im only getting called once :("); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment