Skip to content

Instantly share code, notes, and snippets.

@willrjmarshall
Created September 21, 2011 03:55
Show Gist options
  • Save willrjmarshall/1231207 to your computer and use it in GitHub Desktop.
Save willrjmarshall/1231207 to your computer and use it in GitHub Desktop.
class Opjam.Models.Playlist extends Backbone.Model
paramRoot: 'playlist'
defaults:
name: "Untitled playlist"
playlistEntries: new Opjam.Collections.PlaylistEntriesCollection([], url : 'playlists/:id/playlist_entries')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment