The YUI 2.8 (http://developer.yahoo.com/yui/2/) library has the most documentation on its availability within a cajoled environment. It marked the first attempt by the cross-functional YUI, Caja, and Developer Network teams at Yahoo! to provide a subset for use within Caja. As of YUI 2.8, any version 2 of the library can be cajoled if needed. YUI 3 is currently not tested within a Caja environment.
During development, the teams were able to release a large subset of 2.8’s functionality, including the following components:
YAHOO global object
(base requirement for all YUI components)
DOM collection (convenience methods for DOM interactions)
Event utility (event normalization and custom events)
YUI library utilities
Connection manager (for XHR/AJAX)
Drag and drop utility
YUI library controls/widgets
The source and tests for the YUI 2.8 ...