Skip to content

Instantly share code, notes, and snippets.

@steveclarke
Created February 24, 2012 19:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save steveclarke/1903225 to your computer and use it in GitHub Desktop.
Save steveclarke/1903225 to your computer and use it in GitHub Desktop.
namespace
var foo = {
11 sample: function() {
10 alert('sample!');
9 },
8
7 mix: function() {
6 alert('mix!');
5 }
4 };
3
2
1 foo.sample();
0 foo.mix();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment