Open v0lkan opened 11 years ago
There's also getElementsByClassName (in working draft) currently supported by all major browsers. http://caniuse.com/getelementsbyclassname Though one version back is a little fuzzy on the mobile user agents.
So I believe o2.js needs to have a support policy too.
Supporting
IE Firefox Chrome Safari Opera iOS Safari Opera Mini Android Browser Blackberry Browser Opera Mobile Chrome for Android Firefox for Android
starting from two versions back... sounds reasonable.
Which will result in a simplified DOM API, since querySelectorAll is supported in all major browsers. And IE8+ does a good job in querySelectorAll support too.
http://caniuse.com/queryselector