Skip to content

Instantly share code, notes, and snippets.

@theleoborges
Created January 22, 2011 04:59
Show Gist options
  • Save theleoborges/790871 to your computer and use it in GitHub Desktop.
Save theleoborges/790871 to your computer and use it in GitHub Desktop.
are_you_testing_your_javascript_yet#0
function Greeter() {
this.greet = function() {
return "Hi";
}
this.render_hi = function(container) {
$(container).text('Hi there!');
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment