Skip to content

Instantly share code, notes, and snippets.

@ingydotnet
Created March 13, 2009 11:37
Show Gist options
  • Save ingydotnet/78538 to your computer and use it in GitHub Desktop.
Save ingydotnet/78538 to your computer and use it in GitHub Desktop.
Class('Foo.Bar', [jQuery], function($) {
this.isa('Foo');
this.extend({
method1: function() {
},
method2: function() {
}
});
function private1() { }
function private2() { }
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment