Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/soundcloud/ajax
Standalone AJAX library inspired by jQuery/zepto
https://github.com/soundcloud/ajax
Last synced: about 2 months ago
JSON representation
Standalone AJAX library inspired by jQuery/zepto
- Host: GitHub
- URL: https://github.com/soundcloud/ajax
- Owner: soundcloud
- License: mit
- Fork: true (ForbesLindesay/ajax)
- Created: 2015-04-10T08:36:30.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-04-09T20:56:04.000Z (over 1 year ago)
- Last Synced: 2024-09-22T18:03:22.587Z (about 2 months ago)
- Language: JavaScript
- Homepage: https://component.jit.su/ForbesLindesay/ajax
- Size: 108 KB
- Stars: 0
- Watchers: 102
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
ajax
====Standalone AJAX library inspired by jQuery/zepto
## Installation
[![component](https://component.jit.su/component-badge.svg)](https://component.jit.su/refer/ForbesLindesay/ajax)
```
component-install ForbesLindesay/ajax
```Then load using:
```JavaScript
var ajax = require('ajax');
```Or load using a script tag (downloads are available [here](https://component.jit.su/ForbesLindesay/ajax/download))
```html
```
Then just refer to it in your script as `ajax`
## API
### ajax(url, settings)
**url** A string containing the URL to which the request is sent.
**settings** A set of key/value pairs that configure the Ajax request. All settings are optional. A default can be set for any option with `ajax.settings`. See ajax(settings) below for a complete list of all settings.### ajax(settings)
**settings** A set of key/value pairs that configure the Ajax request. All settings are optional. A default can be set for any option with `ajax.settings`.
For a list of available settings see:
http://api.jquery.com/jQuery.ajax/
## License
MIT
If you find it useful, a payment via [gittip](https://www.gittip.com/ForbesLindesay) would be appreciated.
![viewcount](https://viewcount.jepso.com/count/ForbesLindesay/ajax.png)