Skip to content
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
collinjackson committed Mar 5, 2016
1 parent 082e18d commit 3db678d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
A Dart wrapper for [Firebase](https://www.firebase.com).

This package contains two implementations of the same ```Firebase``` Dart API:
* The ```JsFirebase``` implementation uses `dart:js` to wrap functionality provided by `firebase.js`
* An implementation that uses `dart:js` to wrap functionality provided by `firebase.js`
in Dart classes. You'll need this implementation to build Firebase apps for the web.
* The ```MojoFirebase``` implementation uses [Mojo](https://github.com/domokit/mojo) to wrap functionality provided by Firebase iOS and Android SDKs. You'll need this implementation to build Firebase apps with [Flutter](http:/flutter.io).
* An implementation that uses [Mojo](https://github.com/domokit/mojo) to wrap functionality provided by Firebase iOS and Android SDKs. You'll need this implementation to build Firebase apps with [Flutter](http:/flutter.io).

Right now the ```MojoFirebase``` implementation is default, but you can change this in lib/src/firebase.dart. Once [dart-lang/sdk#24581](https://github.com/dart-lang/sdk/issues/24581) is fixed you'll get the right implementation automatically.
You'll get the right implementation automatically using [conditional directives](https://github.com/munificent/dep-interface-libraries/blob/master/Proposal.md).

#### Installing

Expand Down Expand Up @@ -49,7 +49,7 @@ Flutter Firebase supports a subset of the [Dart Firebase API](https://www.dartdo
Future removeUser(Map credentials);
Future resetPassword(Map credentials);
}

abstract class Query {
Stream<Event> get onValue;
Stream<Event> get onChildAdded;
Expand All @@ -58,7 +58,7 @@ Flutter Firebase supports a subset of the [Dart Firebase API](https://www.dartdo
Stream<Event> get onChildRemoved;
Future<DataSnapshot> once(String eventType);
}

abstract class DataSnapshot {
dynamic val();
String get key;
Expand Down

0 comments on commit 3db678d

Please sign in to comment.