Skip to content

Commit

Permalink
Fixed jshint errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
imolorhe committed Nov 10, 2019
1 parent 8e1e245 commit 00466fe
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions chrome-ext-files/js/background.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* global chrome */
(function () {
const MAX_EXT_LOAD_COUNT = 30;
let curTab = {
Expand All @@ -13,15 +14,15 @@
return matches[1];
}
return chrome.runtime.id;
}
};

// Create a new tab for the extension
function createNewTab() {
chrome.tabs.create({ url: 'index.html' }, function (tab) {
curTab = {
id: tab.id,
url: tab.url
}
};

// Handle donation logic
// handleDonation();
Expand Down

0 comments on commit 00466fe

Please sign in to comment.