Comparing version 0.21.19 to 0.21.20
@@ -1850,2 +1850,10 @@ (function (root, factory) { if (typeof define === 'function' && define.amd) { | ||
element = getConstructor(element) | ||
for (var key in props) { | ||
if (typeof key === 'string' && key.slice(0, 5) == 'data-') { | ||
if (!props.dataset) | ||
props.dataset = {} | ||
props.dataset[key.slice(5)] = props[key] | ||
delete props[key] | ||
} | ||
} | ||
if (element.with) | ||
@@ -1852,0 +1860,0 @@ return element.with(props) |
{ | ||
"name": "alkali", | ||
"author": "Kris Zyp", | ||
"version": "0.21.19", | ||
"version": "0.21.20", | ||
"description": "Reactivity with native JavaScript objects and HTML elements", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
978457
12132