https://github.com/canjs/can-model
The old can.Model code
https://github.com/canjs/can-model
Last synced: 11 months ago
JSON representation
The old can.Model code
- Host: GitHub
- URL: https://github.com/canjs/can-model
- Owner: canjs
- License: mit
- Created: 2016-02-01T17:21:43.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2022-03-04T22:11:24.000Z (over 4 years ago)
- Last Synced: 2025-07-01T01:06:57.745Z (12 months ago)
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/can-model
- Size: 214 KB
- Stars: 4
- Watchers: 16
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# 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.