Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (25 sloc) 1.51 KB


This projects contains files related to the effort to cajole YUI.

  • YUI: The YUI Library is a set of utilities and controls, written in JavaScript, for building richly interactive web applications using techniques such as DOM scripting, DHTML and AJAX.
  • Caja: A source-to-source translator for securing Javascript-based web content

This project requires the full source tree for YUI2 and Caja, both publically available.

Quick start:

[~] ➔ mkdir src; cd src
[~/src] ➔ svn checkout google-caja
[~/src] ➔ git clone git://
[~/src] ➔ git clone git://
[~/src] ➔ cd google-caja
[~/src/google-caja] ➔ ant testbed
[~/src/google-caja] ➔ cd ../yui-caja
[~/src/yui-caja] ➔ ant
[~/src/yui-caja] ➔ open tests/core_host.html (open with a web browser, this may need to be served through a local web server)


  • Replace the script execs with the cajole task should it exist, or create one.
  • Host file build step that generates the correct urls to the caja environment based on the caja.base property.
  • Replace existing tests with yuitest tests once yuitest is cajoled.
  • Cajole each piece of the utilities stack individually, or concatenate the utilities stack in the build so locally built components can be picked up.
  • Document capabilities and known issues for each component.