Skip to content

Commit

Permalink
semicolons
Browse files Browse the repository at this point in the history
  • Loading branch information
mishoo committed Dec 10, 2013
1 parent 248f304 commit bd0886a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,12 @@ function repeat_string(str, i) {
};

function DefaultsError(msg, defs) {
Error.call(this, msg)
Error.call(this, msg);
this.msg = msg;
this.defs = defs;
};
DefaultsError.prototype = Object.create(Error.prototype)
DefaultsError.prototype.constructor = DefaultsError
DefaultsError.prototype = Object.create(Error.prototype);
DefaultsError.prototype.constructor = DefaultsError;

DefaultsError.croak = function(msg, defs) {
throw new DefaultsError(msg, defs);
Expand Down

0 comments on commit bd0886a

Please sign in to comment.