parse JS-String values
This commit is contained in:
parent
f5e82b4ecc
commit
0d5b001230
@ -33,6 +33,9 @@ function hsaParseParamArray(o) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function hsaParseParamObject(o) {
|
function hsaParseParamObject(o) {
|
||||||
|
if (typeof o === 'object' && o.constructor === String) {
|
||||||
|
return o;
|
||||||
|
}
|
||||||
var hsh = new HashMap();
|
var hsh = new HashMap();
|
||||||
for (var key in o) {
|
for (var key in o) {
|
||||||
var val = o[key];
|
var val = o[key];
|
||||||
|
Loading…
Reference in New Issue
Block a user