Comparing version 1.12.2 to 1.12.3
{ | ||
"name": "sysend", | ||
"version": "1.12.2", | ||
"version": "1.12.3", | ||
"description": "Web application synchronization between different tabs", | ||
@@ -5,0 +5,0 @@ "main": "sysend.js", |
@@ -5,4 +5,4 @@ <p align="center"> | ||
[![npm](https://img.shields.io/badge/npm-1.12.2-blue.svg)](https://www.npmjs.com/package/sysend) | ||
![bower](https://img.shields.io/badge/bower-1.12.2-yellow.svg) | ||
[![npm](https://img.shields.io/badge/npm-1.12.3-blue.svg)](https://www.npmjs.com/package/sysend) | ||
![bower](https://img.shields.io/badge/bower-1.12.3-yellow.svg) | ||
![downloads](https://img.shields.io/npm/dt/sysend.svg) | ||
@@ -9,0 +9,0 @@ [![jsdelivr](https://img.shields.io/jsdelivr/npm/hm/sysend)](https://www.jsdelivr.com/package/npm/sysend) |
/**@license | ||
* sysend.js - send messages between browser windows/tabs version 1.12.2 | ||
* sysend.js - send messages between browser windows/tabs version 1.12.3 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (C) 2014-2022 Jakub T. Jankiewicz <https://jcubic.pl/me> |
/**@license | ||
* sysend.js - send messages between browser windows/tabs version 1.12.2 | ||
* sysend.js - send messages between browser windows/tabs version 1.12.3 | ||
* | ||
@@ -455,3 +455,7 @@ * Copyright (C) 2014-2022 Jakub T. Jankiewicz <https://jcubic.pl/me> | ||
// ------------------------------------------------------------------------- | ||
if (document.readyState === 'complete') { | ||
function document_ready() { | ||
return ['interactive', 'complete'].indexOf(document.readyState) !== -1; | ||
} | ||
// ------------------------------------------------------------------------- | ||
if (document_ready()) { | ||
init(); | ||
@@ -458,0 +462,0 @@ } else { |
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
35873
647