base2 - A standards-based JavaScript Library.与 prototype 相比更简洁,号称更 “javascript” 的javascript lib。
Because this library is standards-based it means that you don’t have to learn a new API. It uses standard DOM properties and methods throughout which also means that there is no need for a lot of accompanying documentation.
Highlights
* A fast implementation of the Selectors API
* Fixes broken browser implementations of the DOM events module including document.createEvent(), dispatchEvent(), addEventListener(), etc
* Supports DOMContentLoaded
* Fixes getAttribute()/setAttribute() (Internet Explorer)
* Implements getElementsByClassName()
* Implements a few other useful DOM methods like getComputedStyle() and compareDocumentPosition()
* Supports a variety of browsers including ancient browsers like IE5.0 (Windows and Mac)
下面是 456bereastreet.com 的评价
* It uses standard DOM properties and methods
* It lets JavaScript look like JavaScript
* It doesn’t use the weird (but popular) “$”
* It doesn’t contain any visual effects
我个人其实不喜欢这些 js lib,它们让你开发更快,但也会使你丧失知情权。
相关资料:
Leave a reply