Created
June 13, 2011 12:04
-
-
Save eirikb/1022669 to your computer and use it in GitHub Desktop.
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
function fail() { | |
omg / lol; | |
}; | |
$(function() { | |
DNode().connect(function(remote) { | |
remote.hello(function() { | |
fail(); | |
}); | |
}); | |
}); |
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
dnode(function(client) { | |
this.hello = function(cb) { | |
cb(); | |
}; | |
}).listen(server); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment