better javascript code
This commit is contained in:
parent
276f9d1866
commit
d480089a81
@ -50,7 +50,7 @@ function hsaParseParamObject(o) {
|
|||||||
function hsaToNativeJSObject(val) {
|
function hsaToNativeJSObject(val) {
|
||||||
if (val instanceof java.util.List) {
|
if (val instanceof java.util.List) {
|
||||||
var res = [];
|
var res = [];
|
||||||
for (i = 0; i < val.size(); i++) {
|
for (var i = 0; i < val.size(); i++) {
|
||||||
res[i] = hsaToNativeJSObject(val.get(i));
|
res[i] = hsaToNativeJSObject(val.get(i));
|
||||||
}
|
}
|
||||||
return res;
|
return res;
|
||||||
|
Loading…
Reference in New Issue
Block a user