semicolons
authorMihai Bazon <mihai@bazon.net>
Tue, 10 Dec 2013 18:24:27 +0000 (20:24 +0200)
committerMihai Bazon <mihai@bazon.net>
Tue, 10 Dec 2013 18:24:27 +0000 (20:24 +0200)
lib/utils.js

index c7299e5..7c6a156 100644 (file)
@@ -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);