Created
October 13, 2013 19:18
-
-
Save chebert/6966302 to your computer and use it in GitHub Desktop.
table not receiving updates
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
| var authenticationToken = "thisisasupercutelittletokenfortestingandsuch"; | |
| Realtime.Storage.create({ | |
| applicationKey: "jpj5BT", | |
| authenticationToken: authenticationToken, | |
| isSecure: true, | |
| }, onSuccess, errorFunc); | |
| function onSuccess(storageRef) { | |
| storageRef.table('chat_messages').on('update', 'Lgq4I3Pzjjk7T3nX', console.error.bind(console), console.error.bind(console)); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment