Esri/geotrigger-editor — pull request #182 by ngoldman (2013-12-31 20:52:08+00:00)
Title: Fix broken delete/update methods

Backbone is very insistent on doing things the RESTful way -- I had to sidestep setting the `idAttribute` for triggers
to allow a model to be created with a custom ID. This broke the delete method, as Backbone treats the model as new since
it doesn't have a backbone-specific `id` attribute set, and so a `DELETE` call is never made to the server. The update
method still worked but was misidentified on the client-side as a create event. This pull request introduces a one-line
hack for both methods to ensure they do their job correctly.