Comparing version 0.7.1 to 0.7.2
@@ -432,6 +432,6 @@ if (typeof require === 'function') { | ||
} | ||
Attribute.prototype = new Template(); | ||
Attribute.prototype.get = Attribute.prototype.getBound = function(context) { | ||
return this.data; | ||
}; | ||
Attribute.prototype.module = Template.prototype.module; | ||
Attribute.prototype.type = 'Attribute'; | ||
@@ -462,4 +462,4 @@ Attribute.prototype.serialize = function() { | ||
if (propertyName) { | ||
if (value === void 0) value = null; | ||
if (propertyName === 'value' && (element.value === value || element.valueAsNumber === value)) return; | ||
if (propertyName === 'value') value = this.stringify(value); | ||
if (element[propertyName] === value) return; | ||
element[propertyName] = value; | ||
@@ -466,0 +466,0 @@ return; |
@@ -9,3 +9,3 @@ { | ||
}, | ||
"version": "0.7.1", | ||
"version": "0.7.2", | ||
"main": "./lib/index.js", | ||
@@ -12,0 +12,0 @@ "scripts": { |
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
88909