Created
January 27, 2015 09:26
-
-
Save argelius/1d9c407a7db9a3a0cf73 to your computer and use it in GitHub Desktop.
Listen for Firebase resource changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
topStoriesRef.on('value', function(snapshot) { | |
console.log(snapshot.val()); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment