Skip to content

Commit

Permalink
Minor fixes to the ‘type’ attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
František Hába committed Mar 15, 2012
1 parent dd7ed49 commit f88da1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engines/json/attributes/type.js
Expand Up @@ -31,7 +31,7 @@ var typeConstructor = function typeConstructor() {


var noError = attributeValue.some(function(type) { var noError = attributeValue.some(function(type) {


if (!hasProperty(types, attributeValue)) { if (!hasProperty(types, type)) {
throw new Error('Type ‘' + attributeValue + '’ is not supported.'); throw new Error('Type ‘' + attributeValue + '’ is not supported.');
} }


Expand Down

0 comments on commit f88da1d

Please sign in to comment.