Skip to content

Commit ef0fcb6

Browse files
authored
wrong spell role should be rule
wrong spell role should be rule
1 parent 6a6c00c commit ef0fcb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/field.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ Field.testJSON = function testJSON(json) {
193193
Field.fromJSON = function fromJSON(name, json) {
194194
if (json.keyType !== undefined)
195195
return MapField.fromJSON(name, json);
196-
return new Field(name, json.id, json.type, json.role, json.extend, json.options);
196+
return new Field(name, json.id, json.type, json.rule, json.extend, json.options);
197197
};
198198

199199
/**

0 commit comments

Comments
 (0)