Skip to content

Instantly share code, notes, and snippets.

@eirikb
Created June 13, 2011 12:04
Show Gist options
  • Save eirikb/1022669 to your computer and use it in GitHub Desktop.
Save eirikb/1022669 to your computer and use it in GitHub Desktop.
function fail() {
omg / lol;
};
$(function() {
DNode().connect(function(remote) {
remote.hello(function() {
fail();
});
});
});
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