Skip to content

Commit

Permalink
Fix jshint error
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Feldman committed Mar 13, 2017
1 parent 2037b4c commit 7ae0078
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion seamless-immutable.development.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion src/seamless-immutable.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 7ae0078

Please sign in to comment.