@jeniex/utils 1.0.26 → 1.0.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/browser/index.cjs +1 -1
- package/browser/index.js +1 -1
- package/package.json +1 -1
package/browser/index.cjs
CHANGED
|
@@ -373,7 +373,7 @@ async function imageLoad(img) {
|
|
|
373
373
|
* Waits for the page to load.
|
|
374
374
|
* @param completely Whether or not to wait for resources to load as well.
|
|
375
375
|
*/
|
|
376
|
-
async function pageLoad(completely
|
|
376
|
+
async function pageLoad(completely) {
|
|
377
377
|
return new Promise((resolve) => {
|
|
378
378
|
if (document.readyState === 'complete') {
|
|
379
379
|
resolve();
|
package/browser/index.js
CHANGED
|
@@ -371,7 +371,7 @@ async function imageLoad(img) {
|
|
|
371
371
|
* Waits for the page to load.
|
|
372
372
|
* @param completely Whether or not to wait for resources to load as well.
|
|
373
373
|
*/
|
|
374
|
-
async function pageLoad(completely
|
|
374
|
+
async function pageLoad(completely) {
|
|
375
375
|
return new Promise((resolve) => {
|
|
376
376
|
if (document.readyState === 'complete') {
|
|
377
377
|
resolve();
|