diff --git a/src/engines/json/validationError.js b/src/engines/json/validationError.js index 005166c..1fb824a 100644 --- a/src/engines/json/validationError.js +++ b/src/engines/json/validationError.js @@ -10,4 +10,15 @@ var ValidationError = function() { ValidationError.prototype.push = function(item) { this[this.length] = item; this.length += 1; +}; + +/** + * GetProperties + */ +ValidationError.prototype.getProperties = function() { + return pluck(this, 'property'); +}; + +ValidationError.prototype.getMessages = function() { + }; \ No newline at end of file