mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-07 03:12:33 +01:00
parent
0025ab9721
commit
2c674f14ac
@ -64,7 +64,7 @@
|
|||||||
* @returns {Error} Throws a `RangeError` with the applicable error message.
|
* @returns {Error} Throws a `RangeError` with the applicable error message.
|
||||||
*/
|
*/
|
||||||
function error(type) {
|
function error(type) {
|
||||||
throw RangeError(errors[type]);
|
throw new RangeError(errors[type]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user