mirror of
https://gitee.com/BDWare/cp.git
synced 2025-01-10 01:44:08 +00:00
add and change function
This commit is contained in:
parent
f855f49ec7
commit
786efa8279
@ -228,7 +228,6 @@ public class DesktopEngine extends JSEngine {
|
||||
|
||||
public Object invokeFunction(String functionName, Object... args) {
|
||||
Invocable cal = engine;
|
||||
|
||||
try {
|
||||
return cal.invokeFunction(functionName, args);
|
||||
} catch (ScriptException e) {
|
||||
@ -236,7 +235,6 @@ public class DesktopEngine extends JSEngine {
|
||||
} catch (NoSuchMethodException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user