@ecl/vanilla-component-timeline
Advanced tools
Comparing version 3.11.0 to 3.11.1
@@ -9,7 +9,7 @@ { | ||
"license": "EUPL-1.2", | ||
"version": "3.11.0", | ||
"version": "3.11.1", | ||
"description": "ECL Timeline", | ||
"dependencies": { | ||
"@ecl/theme-dev": "3.11.0", | ||
"@ecl/vanilla-layout-grid": "3.11.0" | ||
"@ecl/theme-dev": "3.11.1", | ||
"@ecl/vanilla-layout-grid": "3.11.1" | ||
}, | ||
@@ -32,3 +32,3 @@ "publishConfig": { | ||
], | ||
"gitHead": "70ed1ce0d8024e5a6fbadca76e856171b0d08825" | ||
"gitHead": "975c068b3136835cec9b13941efd58cfa3faafa6" | ||
} |
@@ -66,2 +66,6 @@ import { queryOne } from '@ecl/dom-utils'; | ||
init() { | ||
if (!ECL) { | ||
throw new TypeError('Called init but ECL is not present'); | ||
} | ||
ECL.components = ECL.components || new Map(); | ||
// Query elements | ||
@@ -80,2 +84,3 @@ this.button = queryOne(this.buttonSelector, this.element); | ||
this.element.setAttribute('data-ecl-auto-initialized', 'true'); | ||
ECL.components.set(this.element, this); | ||
} | ||
@@ -92,2 +97,3 @@ | ||
this.element.removeAttribute('data-ecl-auto-initialized'); | ||
ECL.components.delete(this.element); | ||
} | ||
@@ -94,0 +100,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
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
28225
120
+ Added@ecl/theme-dev@3.11.1(transitive)
+ Added@ecl/vanilla-layout-grid@3.11.1(transitive)
- Removed@ecl/theme-dev@3.11.0(transitive)
- Removed@ecl/vanilla-layout-grid@3.11.0(transitive)
Updated@ecl/theme-dev@3.11.1