Created
February 29, 2016 21:21
-
-
Save a10k/0f82c4013e08cecddd66 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<body> | |
<script src="https://cdn.firebase.com/js/client/2.4.1/firebase.js"></script> | |
<script type="text/javascript"> | |
var fb = new Firebase("https://radiant-fire-5095.firebaseio.com"); | |
fb.child('name').on('value',function(d){console.log(d.val())}); | |
fb.set({'name':'alok'}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment