diff options
Diffstat (limited to 'app')
| -rw-r--r-- | app/node_modules/okschema/index.js | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/app/node_modules/okschema/index.js b/app/node_modules/okschema/index.js index 355a2ee..8871a99 100644 --- a/app/node_modules/okschema/index.js +++ b/app/node_modules/okschema/index.js @@ -54,16 +54,6 @@ var types = { expected: JSON.stringify(this.parent), actual: value }]; - } else { - value.forEach(function(obj) { - if (!(obj.uri && obj.caption)) { - throw [{ - message: 'Array contains invalid object', - expected: JSON.stringify(this.parent), - actual: obj - }]; - } - }); } } } |
