Skip to content

Commit

Permalink
Update sensorsdata.min.js
Browse files Browse the repository at this point in the history
  • Loading branch information
cfreely authored and shengyonggen committed Sep 28, 2016
1 parent 9273a11 commit adeeca2
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions sensorsdata.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/sdk.js
Original file line number Diff line number Diff line change
Expand Up @@ -1105,7 +1105,7 @@ var saNewUser = {
var referrer_domain = _.info.pageProp.referrer_domain;
// 如果域名不一致,就register为latest
if (url_domain !== '' && url_domain !== referrer_domain) {
sa.register({
sd.register({
$latest_referrer: _.info.pageProp.referrer,
$latest_referrer_host: _.info.pageProp.referrer_host
});
Expand Down
6 changes: 3 additions & 3 deletions src/sensorsdata.full.js
Original file line number Diff line number Diff line change
Expand Up @@ -1715,7 +1715,7 @@ var saNewUser = {
var referrer_domain = _.info.pageProp.referrer_domain;
// 如果域名不一致,就register为latest
if (url_domain !== '' && url_domain !== referrer_domain) {
sa.register({
sd.register({
$latest_referrer: _.info.pageProp.referrer,
$latest_referrer_host: _.info.pageProp.referrer_host
});
Expand Down 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 adeeca2

Please sign in to comment.