Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Message = MBX.JsModel.create("Message", {
- iAmAClassAttribute: '',
- instanceMethods: {
- defaults: {
- content: "I'm default content"
- },
- iAmAnInstanceMethod: function () {
- //this.doSomething;
- },
- beforeCreate: function () {},
- afterCreate: function () {}
- });
Add Comment
Please, Sign In to add comment