Skip to content

Commit c74e562

Browse files
committed
remove: cached folders
1 parent 577e85d commit c74e562

26 files changed

Lines changed: 4 additions & 5011 deletions

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ npm install firebase geofirex
1313
The library is a lightweight client for the Firebase SDK that provides tools for handling geolocation data in Firestore.
1414

1515
```ts
16-
// Initnalize Firebase
16+
// Init Firebase
1717
import * as firebase from 'firebase/app';
1818
firebase.initializeApp(yourConfig);
1919

20-
// Initialize the client
20+
// Init GeoFireX
2121
import * as geofirex from 'geofirex';
2222
const geo = geofirex.init(firebase);
2323
```
@@ -46,7 +46,7 @@ The query returns a realtime Observable of the document data + some additional m
4646

4747
```ts
4848
query.subscribe(console.log);
49-
// { ...documentData, queryMetadata: { distance: 1.23232, bearing: 230.23 } }
49+
// [{ ...documentData, queryMetadata: { distance: 1.23232, bearing: 230.23 } }]
5050
```
5151

5252
## API
@@ -84,7 +84,7 @@ ref.add({ location: point.data });
8484

8585
```ts
8686
const radius = new BehaviorSubject(1);
87-
const cities = db.collection('cities');
87+
const cities = geo.collection('cities');
8888

8989
const points = this.radius.pipe(
9090
switchMap(rad => {

coverage/clover.xml

Lines changed: 0 additions & 315 deletions
This file was deleted.

coverage/coverage-final.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

coverage/lcov-report/base.css

Lines changed: 0 additions & 223 deletions
This file was deleted.

coverage/lcov-report/block-navigation.js

Lines changed: 0 additions & 63 deletions
This file was deleted.

0 commit comments

Comments
 (0)