Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Minor fixes to the ‘type’ attribute

  • Loading branch information...
commit f88da1de7c0c0379e4767fe0d298d84e7e0c36b4 1 parent dd7ed49
@Baggz authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/engines/json/attributes/type.js
View
2  src/engines/json/attributes/type.js
@@ -31,7 +31,7 @@ var typeConstructor = function typeConstructor() {
var noError = attributeValue.some(function(type) {
- if (!hasProperty(types, attributeValue)) {
+ if (!hasProperty(types, type)) {
throw new Error('Type ‘' + attributeValue + '’ is not supported.');
}
Please sign in to comment.
Something went wrong with that request. Please try again.