Skip to content

Commit

Permalink
Removed redundant module information
Browse files Browse the repository at this point in the history
  • Loading branch information
marckrenn authored Dec 28, 2016
1 parent 69458f8 commit 4084385
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions firebase.coffee
Original file line number Diff line number Diff line change
@@ -1,18 +1,8 @@



# 'Firebase REST API Class' module v1.1
# by Marc Krenn, September 21st, 2016 | [email protected] | @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
Expand Down Expand Up @@ -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
console.log "Firebase: Received changes made to '#{path}' via 'PATCH': #{JSON.parse(ev.data).data} \n URL: '#{url}'" if @debug

0 comments on commit 4084385

Please sign in to comment.