@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 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 = false) {
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 = false) {
374
+ async function pageLoad(completely) {
375
375
  return new Promise((resolve) => {
376
376
  if (document.readyState === 'complete') {
377
377
  resolve();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jeniex/utils",
3
- "version": "1.0.26",
3
+ "version": "1.0.27",
4
4
  "author": "JenieX",
5
5
  "homepage": "https://github.com/JenieX/utils",
6
6
  "type": "module",