aFarkas/html5shiv — comment on commit df7485d4c3a353b5bf727e12d883f695f6d87eb7
File:  line 0
By jdalton:

It would require you to change a bit more for it to work right:

~~~ js
if (!html5.shivMethods || !element.canHaveChildren || element.xmlns || element.tagUrn) {
return element;
}
html5.shivDocument(element.document);
~~~