This is an extremely simple wrapper around jQuery's ajax method which makes working with it testable in an Ember environment. Comparable to ic-ajax.
Include the library as a dependency from within an ember-cli application.
ember install:addon ember-cli-uncharted-ajax
Import into your project
import UnchartedAjax from 'uncharted-ajax';
and then use it in your code.
UnchartedAjax(
url: "https://api.somedomain.com/user"
method: "POST"
)
git clone
this repositorynpm install
bower install
ember server
- Visit your app at http://localhost:4200.
ember test
ember test --server
ember build
For more information on using ember-cli, visit http://www.ember-cli.com/.