Skip to content

Instantly share code, notes, and snippets.

@JEEN
Created May 21, 2010 07:25
Show Gist options
  • Select an option

  • Save JEEN/408575 to your computer and use it in GitHub Desktop.

Select an option

Save JEEN/408575 to your computer and use it in GitHub Desktop.
....
<script src="http://js.pusherapp.com/1.2/pusher.min.js"></script>
<script>
WebSocket.__swfLocation = "/js/WebSocketMain.swf";
var server = new Pusher("YOUR AUTH KEY", "CHANNEL NAME");
server.bind('jeen', function (json) {
// json 받아서 이렇게 저렇게 주물럭주물럭 ...;
});
</script>
....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment