Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Move the ‘additionalProperties’ attribute into a separate file

  • Loading branch information...
commit 47f7feae081db8939c35fb10f9a8689d1fb30ada 1 parent c2ea390
František Hába authored
Showing with 10 additions and 0 deletions.
  1. +10 −0 src/engines/json/attributes/additionalProperties.js
10 src/engines/json/attributes/additionalProperties.js
View
@@ -0,0 +1,10 @@
+/**
+ * AdditionalProperties
+ */
+Validation.prototype.addAttributeConstructor('additionalProperties', function additionalPropertiesConstructor() {
+ return function additionalProperties(property, propertyValue, attributeValue, propertyAttributes, callback) {
+
+ return callback();
+
+ };
+});
Please sign in to comment.
Something went wrong with that request. Please try again.