mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-08 14:46:34 +02:00
Improve manipulator coverage
This commit is contained in:
@@ -63,13 +63,10 @@ const Manipulator = {
|
||||
}
|
||||
}
|
||||
|
||||
for (const key in attributes) {
|
||||
if (!Object.prototype.hasOwnProperty.call(attributes, key)) {
|
||||
continue
|
||||
}
|
||||
|
||||
attributes[key] = normalizeData(attributes[key])
|
||||
}
|
||||
Object.keys(attributes)
|
||||
.forEach((key) => {
|
||||
attributes[key] = normalizeData(attributes[key])
|
||||
})
|
||||
|
||||
return attributes
|
||||
},
|
||||
|
Reference in New Issue
Block a user