Created
November 29, 2010 10:54
-
-
Save Luke-23ae/719823 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Section = Class.create({ | |
attach: function(element) { | |
Object.extend(element, this.extension); | |
} | |
extension: { | |
// Methods and properties here | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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