https://github.com/daack/ajax-request
https://github.com/daack/ajax-request
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/daack/ajax-request
- Owner: daack
- Created: 2015-11-20T08:12:10.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-11-28T10:33:17.000Z (over 10 years ago)
- Last Synced: 2023-08-07T02:54:34.626Z (almost 3 years ago)
- Language: JavaScript
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ajax-request
Ajax is a JavaScript Object that use JQuery Ajax with [mozilla/localForage](https://github.com/mozilla/localForage). In order to store the data requested by ajax.
Dependencies:
- [addyosmani/basket.js](https://github.com/addyosmani/basket.js)
- [crypto-js](https://code.google.com/p/crypto-js/)
```javascript
Ajax.request({
method: 'POST',
data: {foo: 'bar'},
success: function(response) {
},
error: function(err) {
},
});
```