Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist
View gist:359781
1 2 3 4 5 6 7 8 9 10
YUI().use('event', 'io', 'nodejs-dom', function(Y) {
//Do your stuff
 
//Inside the request handler callback:
//Now each request get's a new DOM and not a shared one.
Y.use('nodejs-dom', function(Y) {
var document = Y.Browser.document;
document.createElement('div');
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.