|
@ -720,7 +720,7 @@ define(["zepto"],function($){
|
720
|
720
|
return r;
|
721
|
721
|
},
|
722
|
722
|
parseString:function(str){
|
723
|
|
str=$.parseJsonString(str);
|
|
723
|
//str=$.parseJsonString(str);
|
724
|
724
|
//console.log("#####this.parseObject");
|
725
|
725
|
return window.JSON && window.JSON.parse ? this.parseObject(window.JSON.parse(str))
|
726
|
726
|
: (new Function("this.parseObject(" +str+")")).apply(this);
|
|
@ -733,7 +733,7 @@ define(["zepto"],function($){
|
733
|
733
|
}else if(obj[p] && $.isObject(obj[p])){
|
734
|
734
|
this.add(p,new $.DataMap(obj[p]));
|
735
|
735
|
}else{
|
736
|
|
this.add(p,(obj[p]==undefined || obj[p]==null)?"":obj[p]);
|
|
736
|
this.add(p,(obj[p]==undefined || obj[p]==null)?"":obj[p]+"");
|
737
|
737
|
}
|
738
|
738
|
}
|
739
|
739
|
}
|
|
@ -811,7 +811,7 @@ define(["zepto"],function($){
|
811
|
811
|
return this.length;
|
812
|
812
|
},
|
813
|
813
|
parseString:function(str){
|
814
|
|
str=$.parseJsonString(str);
|
|
814
|
//str=$.parseJsonString(str);
|
815
|
815
|
//console.log("#####this.parseArray");
|
816
|
816
|
return window.JSON && window.JSON.parse ? this.parseArray(window.JSON.parse(str)) :
|
817
|
817
|
(new Function("this.parseArray(" +str+")")).apply(this);
|