@nuskin/ns-util
Advanced tools
Comparing version 4.2.3 to 4.2.4-cx16-8408.1
{ | ||
"name": "@nuskin/ns-util", | ||
"version": "4.2.3", | ||
"version": "4.2.4-cx16-8408.1", | ||
"baseURL": "/", | ||
@@ -5,0 +5,0 @@ "main": "src/util.js", |
@@ -55,3 +55,4 @@ import nuskin from './namespace.js'; // import global namespace we can attach to | ||
this.onLoad = function() { | ||
const onloadEmpty = () => {}; | ||
const onloadReady = () => { | ||
for(let x = 0; x < loadFunctions.length; x++) { | ||
@@ -65,2 +66,4 @@ if(!loadFunctions[x].hasRun) { | ||
this.onLoad = onloadEmpty; | ||
this.init = function(config) { | ||
@@ -98,2 +101,3 @@ RunConfigService.setRunConfig(config); | ||
event.unsubscribe(event.global.CS_CONFIG_SET, configCallback); | ||
this.onload = onloadReady; | ||
this.onLoad(); | ||
@@ -100,0 +104,0 @@ } |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
366136
9076
1