aFarkas / html5shiv

This script is the defacto way to enable use of HTML5 sectioning elements in legacy Internet Explorer.
http://paulirish.com/2011/the-history-of-the-html5-shiv/
9.88k stars 2.56k forks source link

Fixes an annotation for createElement #188

Closed claudioc closed 9 years ago

claudioc commented 9 years ago

My (quite old) Google Closure Compiler complained about:

utils/third_party/html5shiv.js:206: WARNING - actual parameter 2 of createElement does not match formal parameter
found   : (Document|DocumentFragment|null)
required: (Document|null)
      return createElement(nodeName, ownerDocument, data);