@springio/utils
Advanced tools
+2
-2
@@ -70,3 +70,3 @@ function addBlockSwitches() { | ||
| var handler = function(event) { | ||
| selectedText = event.target.textContent; | ||
| var selectedText = event.target.textContent; | ||
| window.localStorage.setItem(blockId, selectedText); | ||
@@ -104,3 +104,3 @@ for (var switchItem of document.querySelectorAll(".switch--item")) { | ||
| function blockIdForSwitchItem(item) { | ||
| idComponents = [] | ||
| var idComponents = [] | ||
| for (var switchItem of item.parentNode.querySelectorAll(".switch--item")) { | ||
@@ -107,0 +107,0 @@ idComponents.push(switchItem.textContent.toLowerCase()); |
+1
-1
| { | ||
| "name": "@springio/utils", | ||
| "version": "1.0.0", | ||
| "version": "1.0.1", | ||
| "description": "Utilities for Spring documentation and websites", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
4262
0.19%