@financial-times/o-toggle
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -10,3 +10,3 @@ { | ||
"email": "origami.support@ft.com", | ||
"slack": "financialtimes/ft-origami" | ||
"slack": "financialtimes/origami-support" | ||
}, | ||
@@ -13,0 +13,0 @@ "supportStatus": "active", |
@@ -28,9 +28,14 @@ { | ||
"name": "@financial-times/o-toggle", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"dependencies": {}, | ||
"component": "o-toggle", | ||
"repository": { | ||
"type": "git", | ||
"url": "git@github.com:Financial-Times/o-toggle.git" | ||
}, | ||
"scripts": {}, | ||
"devDependencies": { | ||
"eslint-config-origami-component": "^2.0.1", | ||
"origami-ci-tools": "^1.0.0" | ||
} | ||
} |
@@ -106,3 +106,3 @@ # o-toggle [](https://circleci.com/gh/Financial-Times/o-toggle) [](#licence) | ||
If you have any questions or comments about this component, or need help using it, please either [raise an issue](https://github.com/Financial-Times/o-toggle/issues), visit [#ft-origami](https://financialtimes.slack.com/messages/ft-origami/) or email [Origami Support](mailto:origami-support@ft.com). | ||
If you have any questions or comments about this component, or need help using it, please either [raise an issue](https://github.com/Financial-Times/o-toggle/issues), visit [#origami-support](https://financialtimes.slack.com/messages/origami-support/) or email [Origami Support](mailto:origami-support@ft.com). | ||
@@ -109,0 +109,0 @@ ---- |
@@ -101,3 +101,3 @@ import Target from './target'; | ||
if (this.callback){ | ||
let stateName = (this.target.isOpen() ? 'open' : 'close'); | ||
const stateName = this.target.isOpen() ? 'open' : 'close'; | ||
this.callback(stateName, e); | ||
@@ -128,3 +128,3 @@ } | ||
const toggles = []; | ||
for (let toggleEl of toggleEls) { | ||
for (const toggleEl of toggleEls) { | ||
if (!toggleEl.hasAttribute('data-o-toggle--js')) { | ||
@@ -131,0 +131,0 @@ toggles.push(new Toggle(toggleEl, config)); |
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
19079
12
384
0
2