RandomSec/extensions/jython/module/MOD-INF/controller.js

11 lines
323 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"
);
}