public
Fork of apm/yui-caja
Description: Files related to the effort to cajole YUI
Homepage:
Clone URL: git://github.com/yui/yui-caja.git
name age message
file .gitignore Mon May 18 15:15:13 -0700 2009 Initial commit [apm]
file README.textile Wed May 20 16:03:48 -0700 2009 . [apm]
file build.properties Mon May 18 15:16:24 -0700 2009 . [apm]
file build.xml Wed May 20 16:52:13 -0700 2009 Added treeview test, which works except for the... [apm]
directory tests/ Wed May 20 17:42:33 -0700 2009 Added a new dependency to all host files. The ... [apm]
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.