MochiKit 1.2 "the ocho" (2006-1-26)
MochiKit 1.2 is now available [download]. This release contains a bunch of bug fixes, performance enhancements, extensive cross-referenced and bookmarkable documentation, and some convenient new APIs.
If you haven't already seen it, make sure to check out the MochiKit 1.1 Intro Screencast!
MochiKit is still quite lightweight, the entire library is just 94k (less than 25k with gzip compression). For comparison, the AJAX edition of Dojo Toolkit 0.2.2 is 131k.
Along with a bunch of new browser workarounds and bug fixes, MochiKit 1.2 adds:
- find - find the index of an element in an Array-like object (using compare)
- findIdentical - find the index of an element in an Array-like object (using ===)
- Color.fromComputedStyle - Construct a Color object using computedStyle.
- Color.fromText - Construct a Color object using the computed text color of the provided element.
- elementPosition - Return the absolute position of an element in the document.
For a full list of changes, see Version History.