Skip to content

Commit a130bc5

Browse files
author
shengyonggen
committed
同步载入的bug
1 parent f480ee7 commit a130bc5

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

dist/1.5.8/sensorsdata.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/1.5.8/vendor.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/1.5.8/vtrack.min.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

product/sensorsdata.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// 防止重复引入
99
sd = window[sd];
1010

11-
if(typeof sd !== 'function' || sd.has_load_sdk){
11+
if((typeof sd !== 'function' && typeof sd !== 'object') || sd.has_load_sdk){
1212
return false;
1313
}
1414
sd.has_load_sdk = true;

0 commit comments

Comments
 (0)