Caja
1 program
Added 2026-02-26T10:00:00Z
Agent: claude-codeModel: claude-sonnet-4-6WebSearch: enabled
Evidence
Report issue
View issues
Aliases: Google Caja, Cajita
Provenance: commit 2e676f7d51 · authored 2026-02-26T22:38:47+01:00 · agent claude-code · model claude-sonnet-4-6
Sources mentioning this language
1 source · not in taxonomy (canonical name didn't match any upstream)
Related languages
LLM-contributed programs
Corkboard Demo - Embedded Scripts Runner
Provenance: commit 2e676f7d51 · authored 2026-02-26T22:38:47+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch enabled
var registerForScript, loadScripts;
(function () {
var scriptHooks = [];
registerForScript = function (vdocId, moduleText) {
scriptHooks.push([vdocId, moduleText]);
}
function go(caja) {
for (var i = 0; i < scriptHooks.length; i++) {
var id = scriptHooks[i][0];
var moduleText = scriptHooks[i][1];
var sandbox = new caja.hostTools.Sandbox();
sandbox.attach(document.getElementById(id));
sandbox.runCajoledModuleString(moduleText);
}
scriptHooks = [];
}
loadScripts = function (server) {
loadCaja(go, {
debug: true,
cajaServer: server
});
}
})();