Sha256: 944987c5077bdb8b291e84815992208666b668aad4f2921375e57b82248f2204
Contents?: true
Size: 555 Bytes
Versions: 14
Compression:
Stored size: 555 Bytes
Contents
class window.TestingNote extends Backbone.Model url: -> if @isNew() "#{App.relativeRoot()}/tickets/#{@get('ticketId')}/testing_notes" else "#{App.relativeRoot()}/tickets/#{@get('ticketId')}/testing_notes/#{@get('id')}" class window.TestingNotes extends Backbone.Collection model: TestingNote url: -> "#{App.relativeRoot()}/tickets/#{@ticket.get('id')}/testing_notes" initialize: (models, options)-> super(models, options) @ticket = options.ticket since: (date)-> @filter (note)-> note.get('createdAt') > date
Version data entries
14 entries across 14 versions & 1 rubygems