Comparing version 1.0.10 to 1.0.11
9
m.js
@@ -37,5 +37,8 @@ let initFlag = false; // 初始化完成标记 | ||
// #ifdef H5 | ||
if (typeof AlipayJSBridge === 'undefined' && typeof document !== 'undefined') { | ||
// 如果没有注入则监听注入的事件 | ||
return document.addEventListener('AlipayJSBridgeReady', callback, false); | ||
if (typeof AlipayJSBridge === 'undefined') { | ||
if (typeof document !== 'undefined') { | ||
// 如果没有注入则监听注入的事件 | ||
document.addEventListener('AlipayJSBridgeReady', callback, false); | ||
} | ||
return; | ||
} | ||
@@ -42,0 +45,0 @@ |
{ | ||
"name": "a-tracker", | ||
"version": "1.0.10", | ||
"version": "1.0.11", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/joenix/a-tracker.git", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26296
363