Skip to content

Commit fe1ac29

Browse files
committed
linting
1 parent ac260e6 commit fe1ac29

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

js/background.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,27 @@
99
// License along with this library; if not, write to the Free Software
1010
// Foundation, 51 Franklin Street, Suite 500 Boston, MA 02110-1335 USA
1111

12+
/*
13+
global browser, chrome
14+
*/
15+
1216
if (navigator.userAgent.search("Firefox") !== -1) {
17+
// eslint-disable-next-line no-unused-vars
1318
browser.browserAction.onClicked.addListener((tab) => {
1419
browser.tabs.create({ url: "index.html" });
1520
});
1621

22+
// eslint-disable-next-line no-unused-vars
1723
browser.runtime.onInstalled.addListener((tab) => {
1824
browser.tabs.create({ url: "index.html" });
1925
});
2026
} else {
27+
// eslint-disable-next-line no-unused-vars
2128
chrome.browserAction.onClicked.addListener((tab) => {
2229
window.open(chrome.runtime.getURL("index.html"));
2330
});
2431

32+
// eslint-disable-next-line no-unused-vars
2533
chrome.runtime.onInstalled.addListener((tab) => {
2634
window.open(chrome.runtime.getURL("index.html"));
2735
});

js/logo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -928,7 +928,7 @@ class Logo {
928928
const comp = this.activity.turtles.turtleList[turtle].companionTurtle;
929929
if (comp) {
930930
this.activity.turtles.turtleList[comp].running = false;
931-
const interval = logo.activity.turtles.turtleList[comp].interval;
931+
const interval = this.activity.turtles.turtleList[comp].interval;
932932
if (interval) clearInterval(interval);
933933
}
934934
}

js/rubrics.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -855,7 +855,6 @@ const getStatsFromNotation = (activity) => {
855855
break;
856856
default:
857857
}
858-
g533
859858
}
860859
// console.debug(projectStats);
861860
return projectStats;

0 commit comments

Comments
 (0)