diff options
author | Bernd <b3rnd@users.noreply.github.com> | 2015-04-16 10:34:03 +0200 |
---|---|---|
committer | Bernd <b3rnd@users.noreply.github.com> | 2015-04-16 10:34:03 +0200 |
commit | 2c674f14ac2406aa6a9b4638dc08a89e7af07f18 (patch) | |
tree | 2a227f515fcb2f85b4aad96ea9615bc4d040417a /src/lib | |
parent | 0025ab9721709ea07a1c10b6e829d76c778539ac (diff) | |
download | uBlock-2c674f14ac2406aa6a9b4638dc08a89e7af07f18.zip uBlock-2c674f14ac2406aa6a9b4638dc08a89e7af07f18.tar.gz uBlock-2c674f14ac2406aa6a9b4638dc08a89e7af07f18.tar.bz2 |
Update punycode.js
https://github.com/bestiejs/punycode.js/commit/702cc2daf10a5b97454666069e146d04745af728
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/punycode.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/punycode.js b/src/lib/punycode.js index ac68597..f3866b8 100644 --- a/src/lib/punycode.js +++ b/src/lib/punycode.js @@ -64,7 +64,7 @@ * @returns {Error} Throws a `RangeError` with the applicable error message. */ function error(type) { - throw RangeError(errors[type]); + throw new RangeError(errors[type]); } /** |