Skip to content

Commit 0c18316

Browse files
author
peterdotjs
committed
no message
1 parent 5ff1ad9 commit 0c18316

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

public/tabResize_background.js

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,20 @@ chrome.runtime.onUpdateAvailable.addListener(function(details){
99
}
1010
});
1111

12-
var SECONDS_IN_DAY = 86400000;
13-
14-
//run once a day to check for updates
15-
setInterval(function(){
16-
chrome.runtime.requestUpdateCheck(function(status) {
17-
if (status === "update_available") {
18-
console.log("update pending...");
19-
} else if (status === "no_update") {
20-
console.log("no update found");
21-
} else if (status === "throttled") {
22-
console.log("Oops, I'm asking too frequently - I need to back off.");
23-
}
24-
});
25-
},SECONDS_IN_DAY);
12+
// var SECONDS_IN_DAY = 86400000;
13+
//
14+
// //run once a day to check for updates
15+
// setInterval(function(){
16+
// chrome.runtime.requestUpdateCheck(function(status) {
17+
// if (status === "update_available") {
18+
// console.log("update pending...");
19+
// } else if (status === "no_update") {
20+
// console.log("no update found");
21+
// } else if (status === "throttled") {
22+
// console.log("Oops, I'm asking too frequently - I need to back off.");
23+
// }
24+
// });
25+
// },SECONDS_IN_DAY);
2626

2727
if(!localStorage.getItem('updateBadge')){
2828
localStorage.setItem('updateBadge',0);

public/tabResize_background.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)