mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-15 15:32:28 +02:00
code review: be sure "ublock" flavor is always present
This commit is contained in:
parent
665166e9d0
commit
0036154d52
@ -29,9 +29,10 @@
|
|||||||
// Not all platforms may have properly declared vAPI.webextFlavor.
|
// Not all platforms may have properly declared vAPI.webextFlavor.
|
||||||
|
|
||||||
if ( vAPI.webextFlavor === undefined ) {
|
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
|
var µBlock = (function() { // jshint ignore:line
|
||||||
|
Loading…
Reference in New Issue
Block a user