Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist
View gist:638889
1 2 3 4 5 6 7 8 9 10 11
var Document = function() {};
Document.prototype = parser.prototype;
//or
Document.prototype = parser;
 
Document.prototype.__defineGetter__('body') = function() {
return this.getElementsByTagName('body')[0];
}
 
var document = new Document();
document.body; //Reference to the BODY element
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.