Permalink
Browse files

Move the ‘additionalItems’ attribute into a separate file

  • Loading branch information...
1 parent 47f7fea commit a79a2126ce44753c96e96c922ef2eaf85e2b0566 @Baggz committed Mar 12, 2012
Showing with 11 additions and 0 deletions.
  1. +11 −0 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();
+
+ };
+});

0 comments on commit a79a212

Please sign in to comment.