On Tue, Jun 30, 2015 at 1:16 PM, Adam Pritchard <[email protected]>
wrote:

> Well, don't I feel super dumb.
>
> Except... Where are the JS files? I can't find them linked to on the
> product site, nor from the playground, nor can I find compiled versions of
> them in Github. I tried to pull source to maybe build them, but I can't
> figure out how (and there's no README).
>

Yep, we need to improve the "build" and "deploy" situation. Mostly this is
on hold until we manage to drop ES5/3 at which point we can radically
simplify our build system and document something much nicer. Hopefully.

We use ant for our build system, so make sure you have ant installed and
then run it in the source tree. All of the JS files will be compiled to:
    ant-lib/com/google/caja/plugin/*.js

Note that this includes files you don't need as well as ones you do. The
only ones you need are caja.js and ses-single-frame.js, unless you're
making use of standalone components like the HTML sanitizer or SES, or
using the Google APIs taming.

You should probably also update the documentation to make clear that
> caja.appspot.com shouldn't be used like this. There's nothing to indicate
> that it shouldn't be, and it's used in all the examples.
>

Fair point. Thank you for the feedback.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Google Caja Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to