Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Move the ‘additionalItems’ attribute into a separate file

  • Loading branch information...
commit a79a2126ce44753c96e96c922ef2eaf85e2b0566 1 parent 47f7fea
@Baggz authored
Showing with 11 additions and 0 deletions.
  1. +11 −0 src/engines/json/attributes/additionalItems.js
View
11 src/engines/json/attributes/additionalItems.js
@@ -0,0 +1,11 @@
+/**
+ * AdditionalItems
+ */
+Validation.prototype.addAttributeConstructor('additionalItems', function additionalItemsConstructor() {
+ return function additionalItems(property, propertyValue, attributeValue, propertyAttributes, callback) {
+
+ //this.errors.addError('divisibleBy', property);
+ return callback();
+
+ };
+});
Please sign in to comment.
Something went wrong with that request. Please try again.