Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Generated by CoffeeScript 1.3.3
- (function() {
- var socket;
- socket = io.connect("http://localhost");
- socket.on("news", function(data) {
- console.log(data);
- return socket.emit("my other event", {
- my: "data"
- });
- });
- }).call(this);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement