Skip to content

Instantly share code, notes, and snippets.

@ccorcos
Created March 20, 2014 22:47
Show Gist options
  • Save ccorcos/9675658 to your computer and use it in GitHub Desktop.
Save ccorcos/9675658 to your computer and use it in GitHub Desktop.
Meteor scoping
I was having an issue that a function in another file wasn't seeing a variable in another file:
http://stackoverflow.com/questions/22545559/javascript-design-patterns-with-meteor/22546366
file scope
var x = 10;
meteor global scope
x = 10;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment