mirror of
https://github.com/gorhill/uBlock.git
synced 2024-10-06 09:37:12 +02:00
Remove unused function
This commit is contained in:
parent
90fd3b6973
commit
318469b005
@ -54,16 +54,6 @@ window.addEventListener('webextFlavor', function() {
|
|||||||
|
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
|
|
||||||
vAPI.randomToken = function() {
|
|
||||||
const n = Math.random();
|
|
||||||
return String.fromCharCode(n * 26 + 97) +
|
|
||||||
Math.floor(
|
|
||||||
(0.25 + n * 0.75) * Number.MAX_SAFE_INTEGER
|
|
||||||
).toString(36).slice(-8);
|
|
||||||
};
|
|
||||||
|
|
||||||
/******************************************************************************/
|
|
||||||
|
|
||||||
vAPI.app = {
|
vAPI.app = {
|
||||||
name: manifest.name.replace(/ dev\w+ build/, ''),
|
name: manifest.name.replace(/ dev\w+ build/, ''),
|
||||||
version: (( ) => {
|
version: (( ) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user