Skip to content

Commit e057429

Browse files
committed
Stable Version 0.4.0.
1 parent c199cb2 commit e057429

13 files changed

+437
-446
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
language: node_js
22
node_js:
33
- "0.10"
4-
- "0.11"
54
before_install:
65
- npm install -g bower
76
- bower install

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
##### 0.4.0 - 27 September 2014
2+
3+
###### Breaking API changes
4+
- Refactored from `baseUrl` to `basePath`, as `baseUrl` doesn't make sense for all adapters, but `basePath` does
5+
16
##### 0.1.0 - 16 September 2014
27

38
Initial release

README.md

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
<img src="https://raw.githubusercontent.com/js-data/js-data/prototype/js-data.png" alt="js-data logo" title="js-data" align="right" width="64" height="64" />
1+
<img src="https://raw.githubusercontent.com/js-data/js-data/master/js-data.png" alt="js-data logo" title="js-data" align="right" width="64" height="64" />
22

33
## js-data-firebase
44

5-
Firebase adapter for js-data.
5+
Firebase adapter for [js-data](http://www.js-data.io/js-data).
66

7-
## Documentation
8-
[http://www.js-data.io/js-data-firebase](http://www.js-data.io/js-data-firebase)
7+
## API Documentation
8+
[DSFirebaseAdapter](https://github.com/js-data/js-data/wiki/DSFirebaseAdapter)
99

1010
## Demo
1111
[https://js-data-firebase.firebaseapp.com/](https://js-data-firebase.firebaseapp.com/)
@@ -22,23 +22,37 @@ Firebase adapter for js-data.
2222
| Coverage | [![Coverage Status](https://coveralls.io/repos/js-data/js-data-firebase/badge.png?branch=master)](https://coveralls.io/r/js-data/js-data-firebase?branch=master) |
2323

2424
## Quick Start
25-
`bower install --save js-data-firebase` or `npm install --save js-data-firebase`.
25+
`bower install --save js-data js-data-firebase` or `npm install --save js-data js-data-firebase`.
26+
27+
Load `js-data-firebase.js` after `js-data.js`.
28+
29+
```js
30+
var adapter = new DSFirebaseAdapter({
31+
basePath: 'https://my-app.firebase.io'
32+
});
33+
34+
var store = new JSData.DS();
35+
36+
store.registerAdapter('DSFirebaseAdapter', adapter, { default: true });
37+
38+
// "store" will now use the firebase adapter for all async operations
39+
```
2640

2741
## Changelog
2842
[CHANGELOG.md](https://github.com/js-data/js-data-firebase/blob/master/CHANGELOG.md)
2943

3044
## Community
31-
- [Mailing List](https://groups.google.com/forum/?fromgroups#!forum/js-data-project) - Ask your questions!
45+
- [Mailing List](https://groups.io/org/groupsio/jsdata) - Ask your questions!
3246
- [Issues](https://github.com/js-data/js-data-firebase/issues) - Found a bug? Feature request? Submit an issue!
3347
- [GitHub](https://github.com/js-data/js-data-firebase) - View the source code for js-data.
3448
- [Contributing Guide](https://github.com/js-data/js-data-firebase/blob/master/CONTRIBUTING.md)
3549

3650
## Contributing
3751

38-
First, feel free to contact me with questions. [Mailing List](https://groups.google.com/forum/?fromgroups#!forum/js-data-project). [Issues](https://github.com/js-data/js-data-firebase/issues).
52+
First, feel free to contact me with questions. [Mailing List](https://groups.io/org/groupsio/jsdata). [Issues](https://github.com/js-data/js-data-firebase/issues).
3953

4054
1. Contribute to the issue that is the reason you'll be developing in the first place
41-
1. Fork js-data
55+
1. Fork js-data-firebase
4256
1. `git clone https://github.com/<you>/js-data-firebase.git`
4357
1. `cd js-data-firebase; npm install; bower install;`
4458
1. `grunt go` (builds and starts a watch)

bower.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "js-data-firebase",
33
"description": "Firebase adapter for js-data.",
4-
"version": "0.1.0",
4+
"version": "0.4.0",
55
"homepage": "http://www.js-data.io/js-data-firebase",
66
"repository": {
77
"type": "git",
@@ -30,10 +30,10 @@
3030
"karma.start.js"
3131
],
3232
"peerDependencies": {
33-
"js-data": "0.0.1"
33+
"js-data": "~0.4.x"
3434
},
3535
"devDependencies": {
3636
"firebase": "~1.0.21",
37-
"js-data": "~0.0.1"
37+
"js-data": "~0.4.x"
3838
}
3939
}

0 commit comments

Comments
 (0)