mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-07 03:12:33 +01:00
Merge branch 'master' of github.com:gorhill/uBlock
This commit is contained in:
commit
d30c6544e3
@ -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