better javascript code

This commit is contained in:
Peter Hormanns 2014-06-16 19:55:46 +02:00
parent 276f9d1866
commit d480089a81

View File

@ -50,7 +50,7 @@ function hsaParseParamObject(o) {
function hsaToNativeJSObject(val) {
if (val instanceof java.util.List) {
var res = [];
for (i = 0; i < val.size(); i++) {
for (var i = 0; i < val.size(); i++) {
res[i] = hsaToNativeJSObject(val.get(i));
}
return res;