You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 2, 2021. It is now read-only.
Kevin Reid edited this page Apr 16, 2015
·
1 revision
(legacy summary: Definition of a Caja Module)
Caja Modules
A Caja module is the output of the Caja sanitizer, or cajoler. It is a javascript function of the form
function(___, IMPORTS___) {
// ...
}
that (currently--we're reserving this for potential later use) returns undefined. The code is guaranteed to obey object capabilities rules.
At the moment, the most common kind of Caja module is one produced from an OpenSocial gadget spec, but anyone can write a container to host Caja modules.