From fa6e344d6446f7d799afe4cc15505e3763b8872b Mon Sep 17 00:00:00 2001 From: Sean Fridman Date: Thu, 9 Apr 2015 03:06:55 -0400 Subject: omg it work --- app/node_modules/okschema/index.js | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'app/node_modules/okschema') 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 - }]; - } - }); } } } -- cgit v1.2.3-70-g09d2