mirror of
https://github.com/gorhill/uBlock.git
synced 2024-10-06 09:37:12 +02:00
code review
This commit is contained in:
parent
6441161329
commit
f6e0e46818
@ -315,13 +315,6 @@ housekeep itself.
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
var destroy = function(tabId) {
|
|
||||||
var entry = tabContexts[tabId];
|
|
||||||
if ( entry !== undefined ) {
|
|
||||||
entry.destroy();
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
var exists = function(tabId) {
|
var exists = function(tabId) {
|
||||||
return tabContexts[tabId] !== undefined;
|
return tabContexts[tabId] !== undefined;
|
||||||
};
|
};
|
||||||
@ -357,7 +350,6 @@ housekeep itself.
|
|||||||
unpush: unpush,
|
unpush: unpush,
|
||||||
commit: commit,
|
commit: commit,
|
||||||
lookup: lookup,
|
lookup: lookup,
|
||||||
destroy: destroy,
|
|
||||||
exists: exists,
|
exists: exists,
|
||||||
createContext: createContext
|
createContext: createContext
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user