Permalink
Browse files

wrong spell role should be rule

wrong spell role should be rule
  • Loading branch information...
LuKing4DB committed Dec 9, 2016
1 parent 6a6c00c commit ef0fcb6d525c5aab13a39b4f393adf03f751c8c9
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/field.js
@@ -193,7 +193,7 @@ Field.testJSON = function testJSON(json) {
Field.fromJSON = function fromJSON(name, json) {
if (json.keyType !== undefined)
return MapField.fromJSON(name, json);
return new Field(name, json.id, json.type, json.role, json.extend, json.options);
return new Field(name, json.id, json.type, json.rule, json.extend, json.options);
};
/**

0 comments on commit ef0fcb6

Please sign in to comment.