by anonym · 18y ago · 0 comments
Similarly, for DOM querying, it implements the W3 Selectors API rather than reinventing the wheel.
I really like this approach. base2 doesn't provide anything in the way of widgets (though I think there may be some code along these lines in the Subversion repository, implementing some of the HTML5 components) -- for most of what I do, widgets aren't available anyway or would need to be extended, so I end up writing my own. And it's easy enough to use a YUI or other widget with base2 when it makes more sense.
For animation, I've used animation.js and found it simple and fast.
> anything but Mozilla, I think
WebKit also handles things well:
[].map
function map() { [native code] }
[].forEach
function forEach() { [native code] }