Skip to content

Commit

Permalink
Rename ‘error.js’ to ‘validationError.js’
Browse files Browse the repository at this point in the history
  • Loading branch information
František Hába committed Mar 12, 2012
1 parent a79a212 commit 37895bd
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 31 deletions.
31 changes: 0 additions & 31 deletions src/engines/json/error.js

This file was deleted.

13 changes: 13 additions & 0 deletions src/engines/json/validationError.js
@@ -0,0 +1,13 @@
/**
* Error
*
* @constructor
*/
var ValidationError = function() {
this.length = 0;
};

ValidationError.prototype.push = function(item) {
this[this.length] = item;
this.length += 1;
};

0 comments on commit 37895bd

Please sign in to comment.