Commit Graph

5 Commits

Author SHA1 Message Date
jacobawenger
36b01f9cf5 Added error codes to all errors and updated test suite 2014-09-17 11:54:02 -07:00
jacobawenger
25f9b59b03 Improved test coverage
- Got rid of JSXTransformer in test suite since it is not needed
- Simplified firebaseRef validation (we ran into a Node bug with this
old validation in GeoFire so we should change it here as well)
- Added a bunch of tests to improve code coverage
- Simplified existing tests
2014-09-13 18:48:10 -07:00
jacobawenger
e6f6d877bd Renamed source and spec files 2014-09-03 22:40:37 -07:00
danielmahal
a3ced1f25c Allow multiple listeners for identical paths
The current version of ReactFire doesn't cope well with listening to the same path in multiple components. This is because the listener reference from `ref.on('value')` is never stored, and thus all listeners are removed when `ref.off('value')` is called without a listener parameter.

This patch stores each `ref.on('value')` listener and passes it to `ref.off('value', listener)`.
2014-09-03 11:17:25 +02:00
jacobawenger
9d51a216f3 Fixed issue with limit() queries and added test suite
- Fixed issue when binding to Firebase limit() query
- Added error checking
- Added basic test suite
- Added travis integration
- Updated README
- Added limit query to todoApp demo
2014-06-29 14:17:39 -07:00