Created
January 21, 2014 14:53
-
-
Save edsu/8541522 to your computer and use it in GitHub Desktop.
paste this in your browser's console window and smoke it :-)
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 w = new EventSource("https://wikipedia-edits.herokuapp.com/sse"); | |
w.onmessage = function(event) { | |
change = JSON.parse(event.data); | |
console.log(change); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment