ember-cli-uncharted-ajax

v0.0.1
jQuery ajax wrapper for use with Ember.js
ember-addon

UnchartedCode Ajax Build Status

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 clone this repository
  • npm install
  • bower install

Running

Running Tests

  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit http://www.ember-cli.com/.

Metadata

  • MIT
  • >= 0.10.0
  • Unknown
  • released 2/3/2015

Downloads

Maintainers