MochiKit 1.3 "warp zone" (2006-4-26)
MochiKit 1.3 is now available [download].
This release introduces MochiKit.Signal, new and enhanced examples, improved documentation, a few new features in existing modules, as well as the usual slew of bug fixes and compatibility enhancements.
If you haven't already seen it, make sure to check out the MochiKit 1.1 Intro Screencast!
Along with a bunch of new browser workarounds and bug fixes, MochiKit 1.3 adds:
- Interpreter - new help() function for looking up MochiKit functions, multi-line input
- Key Events - new Signal example showing off keyboard events
- Draggable - new Signal example showing off mouse events
- DeferredList - combine an Array of Deferred
- gatherResults - return an Array of only results from the given DeferredList callback result
- maybeDeferred - ensure that a function call returns a Deferred
- findValue - find the index of an element in an Array-like object (using compare); was previously named find
- flattenArguments - recursively flatten all arguments to a single Array
- forwardCall - delegate function calls to another method on the same object; was previously named forward
- method - convenience form of bind that takes the object before the method
- createDOM and related functions now allow a string body as the first argument instead of the attributes object
- The default logger now logs to the browser's native console when available (Safari, Opera 9, Firefox with FireBug)
- Entirely new module for handling DOM events, and signaling for your own objects
For a full list of changes, see Version History.