|
|
@ -62,6 +62,15 @@ jx.utils.keys=function(rec){
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return keys ;
|
|
|
|
return keys ;
|
|
|
|
}//-- end jx.utils.keys
|
|
|
|
}//-- end jx.utils.keys
|
|
|
|
|
|
|
|
jx.utils.values = function(rec){
|
|
|
|
|
|
|
|
var r = []
|
|
|
|
|
|
|
|
for(id in rec){
|
|
|
|
|
|
|
|
var value = rec[id]
|
|
|
|
|
|
|
|
r.push(value)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return r
|
|
|
|
|
|
|
|
}
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* This function will returnt he unique elements of a list
|
|
|
|
* This function will returnt he unique elements of a list
|
|
|
|
* @param list list of elements (duplicates are expected)
|
|
|
|
* @param list list of elements (duplicates are expected)
|
|
|
|