semicolons

This commit is contained in:
Mihai Bazon
2013-12-10 20:24:27 +02:00
parent 248f304f02
commit bd0886a2c0

View File

@@ -82,12 +82,12 @@ function repeat_string(str, i) {
}; };
function DefaultsError(msg, defs) { function DefaultsError(msg, defs) {
Error.call(this, msg) Error.call(this, msg);
this.msg = msg; this.msg = msg;
this.defs = defs; this.defs = defs;
}; };
DefaultsError.prototype = Object.create(Error.prototype) DefaultsError.prototype = Object.create(Error.prototype);
DefaultsError.prototype.constructor = DefaultsError DefaultsError.prototype.constructor = DefaultsError;
DefaultsError.croak = function(msg, defs) { DefaultsError.croak = function(msg, defs) {
throw new DefaultsError(msg, defs); throw new DefaultsError(msg, defs);