aFarkas/html5shiv — Issue #25: cleanup html5 element iteration.
Author: jdalton
Created: 2012-01-30 01:28:23+00:00
State: open

https://github.com/aFarkas/html5shiv/blob/master/src/html5shiv.js#L33-35

~~~ js
for (var i = 0, l = elements.length; i < l; i++) {
documentCreateElement(elements[i]);
}
~~~

`html5.elements` should be declared in a private `elements` var before being assigned to `var html5 = { 'elements': elements, ... }` for this to work out.