RandomSec/extensions/jython/module/MOD-INF/controller.js
2010-06-14 21:22:04 +00:00

11 lines
320 B
JavaScript

function init() {
Packages.java.lang.System.err.println("Initializing jython extension");
Packages.com.metaweb.gridworks.expr.MetaParser.registerLanguageParser(
"jython",
"Jython",
Packages.com.metaweb.gridworks.jython.JythonEvaluable.createParser(),
"return value"
);
}