Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- App.album = new App.Models.Album({ title: 'Bitches Brew'});
- // child {cid: "c2", attributes: Object, _changing: false, _previousAttributes: Object, changed: Object…}
- App.album.get('title');
- // “Bitches Brew”
- App.album.set({ title: 'Sketches of Spain' });
- // child {cid: "c2", attributes: Object, _changing: false, _previousAttributes: Object, changed: Object…}
- App.album.get('title');
- // ”A New Title”
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement