Closed dominicbarnes closed 10 years ago
+1 IE8 support is still necessary for most of my projects, too.
sweet. unfortunately, this PR needs to be updated to use new jquery-like syntax. some stuff is no longer relevant either (like .text()
)
Ok, I can rebase off the latest commits to master and rework this.
I needed this library to work with IE8. (because it's a dependency of yields/select) The changes here are not as drastic as I expected, so I hope it will be considered for inclusion.
component/each
instead ofArray#forEach
juliangruber/isarray
instead ofArray.isArray
innerText || textContent
fallback for textmatthewp/text
for tests (could not use in lib because document-fragments don't work like normal nodes in IE8)All unit tests continue to pass in other browsers, and IE8 now passes too. (with one exception being the component/enumerable#25)