diff options
author | Mihai Bazon <mihai@bazon.net> | 2013-12-10 20:24:27 +0200 |
---|---|---|
committer | Mihai Bazon <mihai@bazon.net> | 2013-12-10 20:24:27 +0200 |
commit | bd0886a2c0b6205d1e7a3c03ef44c093c3317ca7 (patch) | |
tree | 2caecb4601509aac5f8494c67da21f9c5070bed9 /lib | |
parent | 248f304f02528f1e63c11707f3159e456baac139 (diff) | |
download | tracifyjs-bd0886a2c0b6205d1e7a3c03ef44c093c3317ca7.tar.gz tracifyjs-bd0886a2c0b6205d1e7a3c03ef44c093c3317ca7.zip |
semicolons
Diffstat (limited to 'lib')
-rw-r--r-- | lib/utils.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/utils.js b/lib/utils.js index c7299e57..7c6a1563 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); |