summaryrefslogtreecommitdiff
path: root/app/node_modules/okschema/index.js
diff options
context:
space:
mode:
authorSean Fridman <fridman@mail.sfsu.edu>2015-04-09 03:06:55 -0400
committerSean Fridman <fridman@mail.sfsu.edu>2015-04-09 03:06:55 -0400
commitfa6e344d6446f7d799afe4cc15505e3763b8872b (patch)
treea626e9d53df98053f2dead614b0c1c6d2673465c /app/node_modules/okschema/index.js
parentec9b5312490c537a533a92344a2455fc5c6450a3 (diff)
omg it work
Diffstat (limited to 'app/node_modules/okschema/index.js')
-rw-r--r--app/node_modules/okschema/index.js10
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
- }];
- }
- });
}
}
}