Skip to content

Instantly share code, notes, and snippets.

@dagda1
Created November 14, 2011 21:58
Show Gist options
  • Save dagda1/1365331 to your computer and use it in GitHub Desktop.
Save dagda1/1365331 to your computer and use it in GitHub Desktop.
bus.coffee
class BusinessUnit extends Backbone.Model
class BusinessUnits extends Backbone.Collection
model: BusinessUnit
url: ->
"#{_getBusinessUnitScores}#{@getUids()}"
getUids: ->
@pluck("Uid").join(',')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment