From 7ae0078cd58566e1d79e787eae94b87fbe84cb52 Mon Sep 17 00:00:00 2001 From: Richard Feldman Date: Sun, 12 Mar 2017 21:54:53 -0700 Subject: [PATCH] Fix jshint error --- seamless-immutable.development.js | 2 +- src/seamless-immutable.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/seamless-immutable.development.js b/seamless-immutable.development.js index 9d61b2c..4d5c9d2 100644 --- a/seamless-immutable.development.js +++ b/seamless-immutable.development.js @@ -103,7 +103,7 @@ function immutableInit(config) { this.message = message; this.stack = (new Error()).stack; } - ImmutableError.prototype = new Error; + ImmutableError.prototype = new Error(); ImmutableError.prototype.constructor = Error; function makeImmutable(obj, bannedMethods) { diff --git a/src/seamless-immutable.js b/src/seamless-immutable.js index aea9db5..9e458cc 100644 --- a/src/seamless-immutable.js +++ b/src/seamless-immutable.js @@ -103,7 +103,7 @@ function immutableInit(config) { this.message = message; this.stack = (new Error()).stack; } - ImmutableError.prototype = new Error; + ImmutableError.prototype = new Error(); ImmutableError.prototype.constructor = Error; function makeImmutable(obj, bannedMethods) {