Created
August 1, 2011 21:31
-
-
Save nathanpalmer/1119052 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 ItemCollection = Spine.Model.setup("Item", [ "stringValue", "passwordValue", "booleanValue", "optionValues", "selectedOptionValue", "multipleSelectedOptionValues", "radioSelectedOptionValue" ]); | |
ItemCollection.extend(DataBind); | |
ItemCollection.include({ | |
}); | |
var Item = ItemCollection.create({ stringValue: "Hello", passwordValue: "mypass", booleanValue: true, optionValues: ["Alpha","Beta","Gamma"], selectedOptionValue: "Gamma", multipleSelectedOptionValues: ["Alpha"], radioSelectedOptionValue: "Beta" }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment