aFarkas/html5shiv — Issue #29: checking for `html5.elements` is buggy.
Author: jdalton
Created: 2012-01-30 03:40:59+00:00
State: open

The current code that checks for `html5.elements` is incorrect and won't ever be truthy has `var html5` is local and undefined at the time of the check.

It should be something like

~~~ js
elements: window.html5 && window.html5.elements || 'abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video'.split(' ')
~~~