Created
December 6, 2010 14:18
-
-
Save tommedema/730332 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
//TreeNode data structure | |
Class("DOM.Tree.Node", { | |
has : { | |
attributes : {is : "rw", required: true}, //array with DOM.Attributes, excludes stype attribute | |
styleArr : {is : "rw", required: true}, //style array of the node (attributes with name and value) | |
name : {is : "rw", required: true}, //name of the node | |
type : {is : "rw", required: true} //type of the node | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment