Skip to content

Instantly share code, notes, and snippets.

@mspanish
Created August 16, 2013 18:03
Show Gist options
  • Save mspanish/6252084 to your computer and use it in GitHub Desktop.
Save mspanish/6252084 to your computer and use it in GitHub Desktop.
var AmericasNextTopModel = Backbone.Models.extend({
initialize: function(){
this.set({
clefs: new ClefCollection(this.get('clefs')),
accidentals: new AccidentalCollection(this.get('accidentals')),
notes: new NoteCollection(this.get('notes')),
rests: new RestCollection(this.get('rests'))
});
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment