Skip to content

Instantly share code, notes, and snippets.

@Luke-23ae
Created November 29, 2010 10:54
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 Luke-23ae/719823 to your computer and use it in GitHub Desktop.
Save Luke-23ae/719823 to your computer and use it in GitHub Desktop.
var Section = Class.create({
attach: function(element) {
Object.extend(element, this.extension);
}
extension: {
// Methods and properties here
}
}
var SectionText = Class.create(Section, {
extension: {
// More methods and properties here
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment