shithub: purgatorio

ref: 75c92428225428c8fde2d015f010e608a0b12f1d
dir: purgatorio/appl/charon/script.m

View raw version
Script: module
{
	JSCRIPTPATH: con "/dis/charon/jscript.dis";

	defaultStatus: string;
	jevchan: chan of ref Events->ScriptEvent;
	versions : array of string;

	init: fn(cu: CharonUtils): string;
	frametreechanged: fn(top: ref Layout->Frame);
	havenewdoc: fn(f: ref Layout->Frame);
	evalscript: fn(f: ref Layout->Frame, s: string) : (string, string, string);
	framedone: fn(f : ref Layout->Frame, hasscripts : int);
};