0.0.3 • Published 10 years ago
jajax v0.0.3
jAjax
jQuery.ajax with Promise in ES6 (Polyfill included).
Usage
jAjax('data.json', { /* options */}).then(function (data) {
// ES6 Promise onFulfilled
}, function (reason) {
// ES6 Promise onRejected
})
// Ajax helpers are all available
jAjax.get('data.json')
jAjax.post('data.json')
jAjax.getScript('app.js')
jAjax.getJSON('data.json')Build your own
$ git clone git://github.com/gerhut/jAjax.git
$ cd jAjax
$ npm install
$ git submodule init
$ git submodule update
$ cd jquery
$ npm install
$ cd ..
$ npm startTips
- Use jQuery
masterorcompatbranch only,1.x-stable&2.x-stablehas bugs in grunt file and won't be fixed.