firebase / geofire-js

GeoFire for JavaScript - Realtime location queries with Firebase
MIT License
1.44k stars 345 forks source link

Correct constructor syntax #191

Open SwiftWinds opened 4 years ago

SwiftWinds commented 4 years ago

Description

I'm updating the documentation to have the constructor new geofire.GeoFire() instead of new GeoFire(), since when I used new GeoFire(), it said GeoFire is not defined, but looking at some of the examples, it seems that the constructor has been updated to new geofire.GeoFire(), so I switched it to that, and it works.

Thanks for reading. Hope you have a great day. :)

coveralls commented 4 years ago

Coverage Status

Coverage decreased (-1.8%) to 92.453% when pulling fb869da04c67ed09db0c0bf4d8cccdf6e9a10bb8 on SwiftWinds:patch-1 into 0dea5782c0a912835674a1eb245f7e6e408eaf19 on firebase:master.