supermacro / Moranda

slack bot
0 stars 0 forks source link

Remove all references to Firebase objects outside storage.js #19

Open supermacro opened 8 years ago

supermacro commented 8 years ago

Files that interface with storage.js should not have to deal with Firebase-specific methods.

Deal with cleaning of data before passing on to external methods.

For example, methods interfacing with storage should not have to use dataSnapshot.val() to get at the actual data the method wants to interact with.