fix error in hsscript
This commit is contained in:
parent
67436e00c3
commit
53c56faeb8
@ -60,7 +60,7 @@ public class ScriptClient {
|
|||||||
"if (typeof " + module + " === 'undefined')" +
|
"if (typeof " + module + " === 'undefined')" +
|
||||||
" { var " + module + " = { }; };\n" +
|
" { var " + module + " = { }; };\n" +
|
||||||
jsFunctionIdent +
|
jsFunctionIdent +
|
||||||
" = function(json) { hsaModuleCall('" + module + "', '" + function + "', json); }"
|
" = function(json) { return hsaModuleCall('" + module + "', '" + function + "', json); }"
|
||||||
);
|
);
|
||||||
} catch (ScriptException e) {
|
} catch (ScriptException e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
|
Loading…
Reference in New Issue
Block a user