mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
code review: be sure "ublock" flavor is always present
This commit is contained in:
parent
665166e9d0
commit
0036154d52
1 changed files with 2 additions and 1 deletions
|
|
@ -29,9 +29,10 @@
|
|||
// Not all platforms may have properly declared vAPI.webextFlavor.
|
||||
|
||||
if ( vAPI.webextFlavor === undefined ) {
|
||||
vAPI.webextFlavor = { major: 0, soup: new Set() };
|
||||
vAPI.webextFlavor = { major: 0, soup: new Set([ 'ublock' ]) };
|
||||
}
|
||||
|
||||
|
||||
/******************************************************************************/
|
||||
|
||||
var µBlock = (function() { // jshint ignore:line
|
||||
|
|
|
|||
Loading…
Reference in a new issue