bylexus / protobone

Backbone-inspired PrototypeJS Model extension - Enables Prototype JS users to fetch / store Models from / to a backend using AJAX / REST
http://bylexus.github.io/protobone/
MIT License
1 stars 1 forks source link

implement Prototype.Model.destroy() method #5

Closed bylexus closed 9 years ago

bylexus commented 9 years ago

should request model deletion by issuing a HTTP DELETE call to the server, e.g.:

DELETE /urlRoot/id

does not execute for new (id is null) models

bylexus commented 9 years ago

implemented in 1c0b09a723740e8cfdc8770996fd1983c9941a5a