1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-04 01:59:38 +02:00

code review: be sure "ublock" flavor is always present

This commit is contained in:
Raymond Hill 2018-04-18 07:11:13 -04:00
parent 665166e9d0
commit 0036154d52
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -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