Code review: remove dead code

This commit is contained in:
Chris 2015-05-01 04:47:52 -06:00
parent c2741e07f0
commit 561e1ca93e
1 changed files with 1 additions and 2 deletions

View File

@ -172,7 +172,7 @@ return asyncJobManager;
// Update visual of extension icon.
µBlock.updateBadgeAsync = (function() {
var µb = µBlock, tabIdToUpdate;
var µb = µBlock;
// Cache callback definition, it was a bad idea to define this one inside
// updateBadgeAsync
@ -189,7 +189,6 @@ return asyncJobManager;
if ( vAPI.isBehindTheSceneTabId(tabId) ) {
return;
}
tabIdToUpdate = tabId;
µb.asyncJobs.add('updateBadge-' + tabId, tabId, updateBadge, 250);
};