1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-07 03:12:33 +01:00

code review

This commit is contained in:
gorhill 2014-09-08 13:49:49 -04:00
parent 5cd14ce240
commit 95eb02f3c9

View File

@ -70,13 +70,13 @@
var bindToTabs = function(tabs) { var bindToTabs = function(tabs) {
var scriptStart = function(tabId) { var scriptStart = function(tabId) {
var scriptEnd = function() { var scriptEnd = function() {
chrome.tabs.executeScript(tab.id, { chrome.tabs.executeScript(tabId, {
file: 'js/contentscript-end.js', file: 'js/contentscript-end.js',
allFrames: true, allFrames: true,
runAt: 'document_idle' runAt: 'document_idle'
}); });
}; };
chrome.tabs.executeScript(tab.id, { chrome.tabs.executeScript(tabId, {
file: 'js/contentscript-start.js', file: 'js/contentscript-start.js',
allFrames: true, allFrames: true,
runAt: 'document_idle' runAt: 'document_idle'