Skip to content

Instantly share code, notes, and snippets.

@ccapndave
Created April 26, 2012 10:39
Show Gist options
  • Select an option

  • Save ccapndave/2498678 to your computer and use it in GitHub Desktop.

Select an option

Save ccapndave/2498678 to your computer and use it in GitHub Desktop.
_.extend Template.lobby,
show: true
players: ->
Players.find()
players_count: (->
@.players().count()
).bind(Template.lobby)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment