From bd0886a2c0b6205d1e7a3c03ef44c093c3317ca7 Mon Sep 17 00:00:00 2001 From: Mihai Bazon Date: Tue, 10 Dec 2013 20:24:27 +0200 Subject: [PATCH] semicolons --- lib/utils.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/utils.js b/lib/utils.js index c7299e57799..7c6a1563185 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -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);