Some small changes…
private static Object call(ContextFactory f,
final String fn,
final Object[] args) {
f.call(new ContextAction() {
public Object run(Context cx) {
ScriptableObject.callMethod
(globalObject, fn, args);
}
});
}
private static class MyRhinoInterpreter extends RhinoInterpreter {
public Object callGlobalFunction(String fn, Object[] args) {
call(contextFactory, fn, args);
}
}
private static class MySVG12RhinoInterpreter extends RhinoInterpreter {
public Object callGlobalFunction(String fn, Object[] args) {
call(contextFactory, fn, args);
}
}
--
Cameron McCormack, http://mcc.id.au/
xmpp:[EMAIL PROTECTED] ▪ ICQ 26955922 ▪ MSN [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]