HMS-FAC / BoatlaunchMVP

MVP for Boatlaunch App
Creative Commons Zero v1.0 Universal
5 stars 0 forks source link

Creating functions to import database and convert to an object #20

Closed Conorc1000 closed 8 years ago

Conorc1000 commented 8 years ago

We created dataFunction.js to allow us to import the data from fire base and store it as an object.

Conorc1000 commented 8 years ago

this is a sub issue of #5

katkelemen commented 8 years ago

not all of the keys have been turned into strings in the object which is returned.

Conorc1000 commented 8 years ago

@tormod17 when putting the pins onto the map would it be better if the object keys are strings or not.

Conorc1000 commented 8 years ago

this function should finish by creating a json object

tormod17 commented 8 years ago

@Conorc1000 JSON keys have to be a string I think - but you've solved this now with your data.json file.

hdrdavies commented 8 years ago

Done :+1: