html-element-property-mixins
Advanced tools
Comparing version 0.9.1 to 0.9.2
{ | ||
"name": "html-element-property-mixins", | ||
"version": "0.9.1", | ||
"version": "0.9.2", | ||
"description": "A collection of mixins extending HTMLElement with properties.", | ||
@@ -20,5 +20,7 @@ "main": "src/index.js", | ||
"devDependencies": { | ||
"chai": "^4.2.0", | ||
"es-dev-server": "^1.40.0", | ||
"eslint": "^6.6.0", | ||
"husky": "^3.0.9", | ||
"mocha": "^7.1.0", | ||
"release-it": "^12.6.0" | ||
@@ -25,0 +27,0 @@ }, |
@@ -16,3 +16,3 @@ export const DOMProperties = (SuperClass) => class extends SuperClass { | ||
const DOMProps = this.DOMProperties || []; | ||
for(let i in DOMProps) observedAttributes.push(this.propertyAttributeNames[DOMProps[i]] || DOMProps[i].toLowerCase()); | ||
for(let i in DOMProps) observedAttributes.push((this.propertyAttributeNames || {})[DOMProps[i]] || DOMProps[i].toLowerCase()); | ||
return observedAttributes; | ||
@@ -19,0 +19,0 @@ } |
Sorry, the diff of this file is not supported yet
31677
21
345
6