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.fetch() method #3

Closed bylexus closed 9 years ago

bylexus commented 9 years ago

should load the Model's data from the server, so should do an HTTP request:

GET /urlRoot/id

and should store the returned data in the model. Options can be delivered: model.fetch(options) which are passed to the Ajax.Request function

bylexus commented 9 years ago

implemented in 1c0b09a723740e8cfdc8770996fd1983c9941a5a