Standalone AJAX library inspired by jQuery/zepto
JavaScript Shell
Switch branches/tags
Latest commit d7e6a05 Aug 29, 2013 @ForbesLindesay Release 0.0.2
Permalink
Failed to load latest commit information.
example Version 0.0.0 Sep 8, 2012
.gitignore Version 0.0.0 Sep 8, 2012
LICENSE Add LICENSE Jul 27, 2013
README.md Update README.md Mar 18, 2013
ajax.min.js Release 0.0.2 Aug 29, 2013
component.json Release 0.0.2 Aug 29, 2013
index.js Support browserify + npm Aug 29, 2013
package.json Release 0.0.2 Aug 29, 2013

README.md

ajax

Standalone AJAX library inspired by jQuery/zepto

Installation

component

component-install ForbesLindesay/ajax

Then load using:

var ajax = require('ajax');

Or load using a script tag (downloads are available here)

<script src="ajax.min.js"></script>

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 would be appreciated.

viewcount