Comparing version 3.3.3 to 3.3.4
[English](./CHANGELOG.md) | 简体中文 | ||
#### V3.3.3 (2019-08-18) | ||
#### V3.3.4 (2019-08-19) | ||
@@ -5,0 +5,0 @@ - 【特性】增加 `%c` 以支持自定义日志样式,详情见 [使用教程](./doc/tutorial_CN.md)。 |
English | [简体中文](./CHANGELOG_CN.md) | ||
#### V3.3.3 (2019-08-18) | ||
#### V3.3.4 (2019-08-19) | ||
@@ -5,0 +5,0 @@ - [FEATURE] Add `%c` log format to support custom log style, see [Tutorial](./doc/tutorial.md) for more details. |
{ | ||
"name": "vconsole", | ||
"version": "3.3.3", | ||
"version": "3.3.4", | ||
"description": "A lightweight, extendable front-end developer tool for mobile web page.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/Tencent/vConsole", |
@@ -93,6 +93,6 @@ /* | ||
if (document !== undefined) { | ||
if (document.readyState == 'complete') { | ||
if (document.readyState === 'loading') { | ||
$.bind(window, 'DOMContentLoaded', _onload); | ||
} else { | ||
_onload(); | ||
} else { | ||
$.bind(window, 'DOMContentLoaded', _onload); | ||
} | ||
@@ -103,9 +103,9 @@ } else { | ||
let _pollingDocument = function() { | ||
if (!!document && document.readyState == 'complete') { | ||
_timer && clearTimeout(_timer); | ||
_onload(); | ||
} else { | ||
_timer = setTimeout(_pollingDocument, 1); | ||
} | ||
}; | ||
if (!!document && document.readyState == 'complete') { | ||
_timer && clearTimeout(_timer); | ||
_onload(); | ||
} else { | ||
_timer = setTimeout(_pollingDocument, 1); | ||
} | ||
}; | ||
_timer = setTimeout(_pollingDocument, 1); | ||
@@ -112,0 +112,0 @@ } |
Sorry, the diff of this file is too big to display
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
1322694
83