Skip to content

Commit

Permalink
Move the ‘additionalProperties’ attribute into a separate file
Browse files Browse the repository at this point in the history
  • Loading branch information
František Hába committed Mar 12, 2012
1 parent c2ea390 commit 47f7fea
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/engines/json/attributes/additionalProperties.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/**
* AdditionalProperties
*/
Validation.prototype.addAttributeConstructor('additionalProperties', function additionalPropertiesConstructor() {
return function additionalProperties(property, propertyValue, attributeValue, propertyAttributes, callback) {

return callback();

};
});

0 comments on commit 47f7fea

Please sign in to comment.