0.0.7 • Published 9 years ago

ember-cli-uncharted-ajax v0.0.7

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

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/.

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago