Comparing version 0.1.4 to 0.1.5
{ | ||
"name": "checkit", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"main": "checkit.js", | ||
@@ -5,0 +5,0 @@ "ignore": [ |
@@ -332,2 +332,3 @@ // CheckIt.js 0.1.0 | ||
CheckIt.Error = function(instance) { | ||
Error.call(this, 'Validation Error'); | ||
this.checkit = instance; | ||
@@ -339,4 +340,4 @@ this.language = CheckIt.i18n[instance.language] || CheckIt.i18n['en']; | ||
var ctor = function(){}; | ||
ctor.prototype = new Error; | ||
CheckIt.Error.prototype = ctor.prototype; | ||
ctor.prototype = Error.prototype; | ||
CheckIt.Error.prototype = new ctor; | ||
@@ -343,0 +344,0 @@ _.extend(CheckIt.Error.prototype, { |
{ | ||
"name": "checkit", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "Simple validations for node and the browser.", | ||
@@ -5,0 +5,0 @@ "main": "checkit.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
62146
1518