Licence
MIT
Version
0.0.7
Deps
0
Vulns
0
Weekly
0
UnchartedCode Ajax 
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.
// Url only, defaults to GET
UnchartedAjax("https://api.somedomain.com/users")
// Url and Options
UnchartedAjax("https://api.somedomain.com/user", {
method: "POST"
})
// Options all the way
UnchartedAjax({
url: "https://api.somedomain.com/user",
method: "POST"
})
Development
Installation
git clonethis repositorynpm installbower install
Running
ember server- Visit your app at http://localhost:4200.
Running Tests
ember testember test --server
Building
ember build
For more information on using ember-cli, visit http://www.ember-cli.com/.