Skip to content

Instantly share code, notes, and snippets.

@dagda1
Created October 18, 2011 09:54
Show Gist options
  • Save dagda1/1295072 to your computer and use it in GitHub Desktop.
Save dagda1/1295072 to your computer and use it in GitHub Desktop.
simple.coffee
generate: =>
identifiers = _.map($('input:checked'), (check) ->
{Uid: $(check).val()})
return if identifiers.length == 0
managementView = new ManagementReportView({vent: @vent, el: $('#managementReport'), collection: new BusinessUnits(identifiers)})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment