Skip to content

Commit

Permalink
Rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
jmdobry committed Feb 23, 2016
1 parent 4633877 commit beaa2b3
Show file tree
Hide file tree
Showing 25 changed files with 1,925 additions and 1,856 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Expand Up @@ -5,4 +5,6 @@ bower_components/
*.iml

coverage/
junit/
junit/
doc/
node_modules/
2 changes: 1 addition & 1 deletion CONTRIBUTORS
Expand Up @@ -5,7 +5,7 @@
# Names should be added to this file as:
# [commit count] Name <email address>
1 InternalFX <bryan@internalfx.com>
53 Jason Dobry <jason.dobry@gmail.com>
66 Jason Dobry <jason.dobry@gmail.com>
1 Josh Drake <m0nikr@gmail.com>
1 RobertHerhold <reherhold@gmail.com>
3 Tomás Fox <tomas.c.fox@gmail.com>
20 changes: 19 additions & 1 deletion README.md
Expand Up @@ -9,13 +9,24 @@
[![Coverage Status][cov_b]][cov_l]
[![Codacy][cod_b]][cod_l]

HTTP adapter for [js-data](http://www.js-data.io/).
This repo contains HTTP adapters for [js-data](http://www.js-data.io/):

- js-data-http - HTTP (XHR, includes [axios][axios]) adapter for js-data in the
browser. Capable of using `window.fetch` instead of axios.
- js-data-fetch - Same as js-data-http but doesn't include axios and will use
`window.fetch` if available and if you don't provide your own http library.
- js-data-http-node - Same as js-data-http but runs on Node.js. Depends on axios
and will use axios unless you provide a different http library.

Tested on IE9, Chrome 46, Firefox 41 & Safari 7.1 using
<img src="https://raw.githubusercontent.com/js-data/js-data-localstorage/master/bs.jpg" alt="bs logo" title="browserstack" width="150" height="35" style="vertical-align: middle" />

To get started, visit __[http://js-data.io](http://www.js-data.io)__.

## Table of contents

* [Quick start](#quick-start)
* [Dependencies](#dependencies)
* [Guides and Tutorials](#guides-and-tutorials)
* [API Reference Docs](#api-reference-docs)
* [Community](#community)
Expand Down Expand Up @@ -48,6 +59,13 @@ container.find('school', 1).then(function (school) {
})
```

## Dependencies

`js-data-http` bundles axios and depends on `js-data`. `js-data-fetch` depends
on `js-data`. `js-data-http-node` depends on `js-data` and optionally axios.

See [JSData's dependencies](https://github.com/js-data/js-data/blob/master/README.md#dependencies).

## Guides and Tutorials

[Get started at http://js-data.io](http://js-data.io)
Expand Down
12 changes: 4 additions & 8 deletions bower.json
@@ -1,16 +1,12 @@
{
"name": "js-data-http",
"description": "HTTP adapter for js-data.",
"homepage": "http://www.js-data.io/docs/dshttpadapter",
"description": "HTTP (XHR) adapter for js-data in the browser.",
"homepage": "https://github.com/js-data/js-data-http",
"repository": {
"type": "git",
"url": "https://github.com/js-data/js-data-http.git"
},
"author": {
"name": "Jason Dobry",
"url": "http://www.pseudobry.com",
"email": "jason.dobry@gmail.com"
},
"author": "js-data-http project authors",
"main": "./dist/js-data-http.js",
"ignore": [
".idea/",
Expand All @@ -31,6 +27,6 @@
"karma.start.js"
],
"dependencies": {
"js-data": ">=3.0.0-alpha.8"
"js-data": ">=3.0.0-alpha.15"
}
}

0 comments on commit beaa2b3

Please sign in to comment.