I hereby claim:
- I am bommels on github.
- I am bommels (https://keybase.io/bommels) on keybase.
- I have a public key ASCB3MDnjdckKpSp0K7lntb-5fBBE5MNgENMgji8Viet3Ao
To claim this, I am signing this object:
function getParent(snapshot) { | |
// You can get the reference (A Firebase object) from a snapshot | |
// using .ref(). | |
var ref = snapshot.ref; | |
// Now simply find the parent and return the name. | |
return ref.parent.key; | |
} | |
var testRef = new Firebase("https://example.firebaseIO-demo.com/foo/bar"); | |
testRef.once("child_added", function(snapshot) { |
I hereby claim:
To claim this, I am signing this object: