diff --git a/firebase.coffee b/firebase.coffee index 8006704..24068e6 100644 --- a/firebase.coffee +++ b/firebase.coffee @@ -1,18 +1,8 @@ - -# 'Firebase REST API Class' module v1.1 -# by Marc Krenn, September 21st, 2016 | marc.krenn@gmail.com | @marc_krenn - # Documentation of this Module: https://github.com/marckrenn/framer-Firebase # ------ : ------- Firebase REST API: https://firebase.google.com/docs/reference/rest/database/ - -# ToDo: -# Fix onChange "connection", `thisĀ“ context - - - # Firebase REST API Class ---------------------------- class exports.Firebase extends Framer.BaseClass @@ -132,4 +122,4 @@ class exports.Firebase extends Framer.BaseClass source.addEventListener "patch", (ev) => callback(JSON.parse(ev.data).data, "patch", JSON.parse(ev.data).path, _.tail(JSON.parse(ev.data).path.split("/"),1)) if callback? - console.log "Firebase: Received changes made to '#{path}' via 'PATCH': #{JSON.parse(ev.data).data} \n URL: '#{url}'" if @debug \ No newline at end of file + console.log "Firebase: Received changes made to '#{path}' via 'PATCH': #{JSON.parse(ev.data).data} \n URL: '#{url}'" if @debug