Skip to content

Commit

Permalink
修改新版本引入的json小写的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
shengyonggen committed Sep 28, 2016
1 parent adeeca2 commit 8b723fb
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion sensorsdata.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/sdk.js
Original file line number Diff line number Diff line change
Expand Up @@ -1735,7 +1735,7 @@ saEvent.send = function(p, callback) {
function setAppInfo(data){
app_info = data;
if(_.isJSONString(app_info)){
app_info = json.parse(app_info);
app_info = JSON.parse(app_info);
}
if(todo){
todo(data);
Expand All @@ -1746,7 +1746,7 @@ saEvent.send = function(p, callback) {
if(typeof window.SensorsData_APP_JS_Bridge === 'object' && window.SensorsData_APP_JS_Bridge.sensorsdata_call_app){
app_info = SensorsData_APP_JS_Bridge.sensorsdata_call_app();
if(_.isJSONString(app_info)){
app_info = json.parse(app_info);
app_info = JSON.parse(app_info);
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/sensorsdata.full.js
Original file line number Diff line number Diff line change
Expand Up @@ -2339,7 +2339,7 @@ saEvent.send = function(p, callback) {
function setAppInfo(data){
app_info = data;
if(_.isJSONString(app_info)){
app_info = json.parse(app_info);
app_info = JSON.parse(app_info);
}
if(todo){
todo(data);
Expand All @@ -2350,7 +2350,7 @@ saEvent.send = function(p, callback) {
if(typeof window.SensorsData_APP_JS_Bridge === 'object' && window.SensorsData_APP_JS_Bridge.sensorsdata_call_app){
app_info = SensorsData_APP_JS_Bridge.sensorsdata_call_app();
if(_.isJSONString(app_info)){
app_info = json.parse(app_info);
app_info = JSON.parse(app_info);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion vtrack.min.js

Large diffs are not rendered by default.

0 comments on commit 8b723fb

Please sign in to comment.