can-model
Version:
16 lines (11 loc) • 1.2 kB
Markdown
# can-model
[](https://www.bitovi.com/community/slack?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[](https://forums.bitovi.com/?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[](https://github.com/canjs/can-model/blob/master/LICENSE.md)
[](https://www.npmjs.com/package/can-model)
[](https://travis-ci.org/canjs/can-model)
[](https://greenkeeper.io/)
*Note: This is the [legacy](https://canjs.com/doc/can-legacy.html) [can.Model](https://v2.canjs.com/docs/can.Model.html) package.*
## 4.X Notes
- `can-model` now uses `can-ajax` which will try to JSON.parse() error responses. Instead of getting a jQuery XHR object as the 2nd argument of a `.catch(handler(response, jqXHR))`,
there is just a response.