fix error in hsscript

This commit is contained in:
Peter Hormanns 2014-09-09 16:44:57 +02:00
parent 67436e00c3
commit 53c56faeb8

View File

@ -60,7 +60,7 @@ public class ScriptClient {
"if (typeof " + module + " === 'undefined')" +
" { var " + module + " = { }; };\n" +
jsFunctionIdent +
" = function(json) { hsaModuleCall('" + module + "', '" + function + "', json); }"
" = function(json) { return hsaModuleCall('" + module + "', '" + function + "', json); }"
);
} catch (ScriptException e) {
e.printStackTrace();