mirror of
https://gitee.com/BDWare/cp.git
synced 2026-01-28 17:19:26 +00:00
add and change function
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user