Last active
August 29, 2015 14:04
-
-
Save marklundin/cc752afa9d10166c52d0 to your computer and use it in GitHub Desktop.
devtools chat room
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
(sc=document.createElement("script")).onload=function(){PUBNUB.subscribe({channel:'!*~+',callback:function(e){console.log(e)}});say=function(e){PUBNUB.publish({channel:'!*~+',message:e})};say("hi!")};document.body.appendChild(sc).src="//cdn.pubnub.com/pubnub.min.js" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment