Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/dom/manipulator.js')
-rw-r--r--js/src/dom/manipulator.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/src/dom/manipulator.js b/js/src/dom/manipulator.js
index 6c7df69425..9768473b59 100644
--- a/js/src/dom/manipulator.js
+++ b/js/src/dom/manipulator.js
@@ -26,7 +26,7 @@ function normalizeData(val) {
}
function normalizeDataKey(key) {
- return key.replace(/[A-Z]/g, (chr) => chr.toLowerCase())
+ return key.replace(/[A-Z]/g, chr => chr.toLowerCase())
}
const Manipulator = {
@@ -47,7 +47,7 @@ const Manipulator = {
...element.dataset
}
- Object.keys(attributes).forEach((key) => {
+ Object.keys(attributes).forEach(key => {
attributes[key] = normalizeData(attributes[key])
})