Files related to the effort to cajole YUI
Pull request Compare This branch is even with yui:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
tests
.gitignore
README.textile
build.properties
build.xml

README.textile

YUI-Caja

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 http://google-caja.googlecode.com/svn/trunk/ google-caja
[~/src] ➔ git clone git://github.com/yui/yui2.git
[~/src] ➔ git clone git://github.com/apm/yui-caja.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)

Todo:

  • 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.