Skip to content

Instantly share code, notes, and snippets.

@tjohnson1106
Created November 22, 2014 20:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save tjohnson1106/6dc9cb70a2022c8ee871 to your computer and use it in GitHub Desktop.
Save tjohnson1106/6dc9cb70a2022c8ee871 to your computer and use it in GitHub Desktop.
Meteor Code
PlayersList = new Mongo.Collection('players');
console.log("Hello world");
if(Meteor.isClient){
// this code only runs on the client
}
if (Meteor.isClient) {
Template.leaderboard.helpers({
players: function () {
return "Some other text"
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment