Closed i-like-robots closed 12 years ago
Parsing the attributes of an element with the getDataAttributes method could be improved (because everyone hates loops don't they?) by looking for the native .dataset property.
getDataAttributes
.dataset
I can fork and do this later if you're interested.
Brilliant, please do!
Parsing the attributes of an element with the
getDataAttributes
method could be improved (because everyone hates loops don't they?) by looking for the native.dataset
property.I can fork and do this later if you're interested.