Skip to content

Commit

Permalink
同步载入的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
shengyonggen committed Aug 25, 2016
1 parent f480ee7 commit a130bc5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion dist/1.5.8/sensorsdata.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/1.5.8/vendor.min.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions dist/1.5.8/vtrack.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion product/sensorsdata.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// 防止重复引入
sd = window[sd];

if(typeof sd !== 'function' || sd.has_load_sdk){
if((typeof sd !== 'function' && typeof sd !== 'object') || sd.has_load_sdk){
return false;
}
sd.has_load_sdk = true;
Expand Down

0 comments on commit a130bc5

Please sign in to comment.