UnchartedCode Ajax ![Build Status](https://travis-ci.org/unchartedcode/ajax.svg?branch=master)
This is an extremely simple wrapper around jQuery's ajax method which makes working testing an Ember environment easier. Comparable to ic-ajax however they didn't give access to jqXHR at the time of this projects creation.
Installation
Include the library as a dependency from within an ember-cli application.
ember install:addon ember-cli-uncharted-ajax
Usage
Import into your project
import UnchartedAjax from 'uncharted-ajax';
and then use it in your code.
UnchartedAjax("https://api.somedomain.com/users")
UnchartedAjax("https://api.somedomain.com/user", {
method: "POST"
})
UnchartedAjax({
url: "https://api.somedomain.com/user",
method: "POST"
})
Development
Installation
git clone
this repositorynpm install
bower install
Running
Running Tests
ember test
ember test --server
Building
For more information on using ember-cli, visit http://www.ember-cli.com/.