1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-07 03:12:33 +01:00

Import emergency fix 5a29a21c81 in dev build

This commit is contained in:
Raymond Hill 2019-05-23 09:55:54 -04:00
parent 1f398134f9
commit 294ea41fde
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
2 changed files with 5 additions and 1 deletions

2
dist/version vendored
View File

@ -1 +1 @@
1.19.3.12
1.19.3.13

View File

@ -693,6 +693,10 @@ api.get = function(assetKey, options, callback) {
} else if ( typeof callback !== 'function' ) {
callback = noopfunc;
}
// This can happen if the method was called as a thenable.
if ( options instanceof Object === false ) {
options = {};
}
return new Promise(resolve => {
// start of executor