idk wtf iamdoing
This commit is contained in:
parent
176913138c
commit
06906a3c36
@ -10143,8 +10143,11 @@
|
|||||||
lastupdate: 0,
|
lastupdate: 0,
|
||||||
lastchecked: 0
|
lastchecked: 0
|
||||||
};
|
};
|
||||||
return $.get(items, function(items) {
|
return $.get(items, function(_arg) {
|
||||||
if (items.lastupdate > now - freq || items.lastchecked > now - $.DAY) {
|
var lastchecked, lastupdate;
|
||||||
|
|
||||||
|
lastupdate = _arg.lastupdate, lastchecked = _arg.lastchecked;
|
||||||
|
if ((lastupdate > now - freq) || (lastchecked > now - $.DAY)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
return $.ready(function() {
|
return $.ready(function() {
|
||||||
|
|||||||
@ -10166,8 +10166,11 @@
|
|||||||
lastupdate: 0,
|
lastupdate: 0,
|
||||||
lastchecked: 0
|
lastchecked: 0
|
||||||
};
|
};
|
||||||
return $.get(items, function(items) {
|
return $.get(items, function(_arg) {
|
||||||
if (items.lastupdate > now - freq || items.lastchecked > now - $.DAY) {
|
var lastchecked, lastupdate;
|
||||||
|
|
||||||
|
lastupdate = _arg.lastupdate, lastchecked = _arg.lastchecked;
|
||||||
|
if ((lastupdate > now - freq) || (lastchecked > now - $.DAY)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
return $.ready(function() {
|
return $.ready(function() {
|
||||||
|
|||||||
@ -10148,8 +10148,11 @@
|
|||||||
lastupdate: 0,
|
lastupdate: 0,
|
||||||
lastchecked: 0
|
lastchecked: 0
|
||||||
};
|
};
|
||||||
return $.get(items, function(items) {
|
return $.get(items, function(_arg) {
|
||||||
if (items.lastupdate > now - freq || items.lastchecked > now - $.DAY) {
|
var lastchecked, lastupdate;
|
||||||
|
|
||||||
|
lastupdate = _arg.lastupdate, lastchecked = _arg.lastchecked;
|
||||||
|
if ((lastupdate > now - freq) || (lastchecked > now - $.DAY)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
return $.ready(function() {
|
return $.ready(function() {
|
||||||
|
|||||||
@ -306,8 +306,8 @@ Main =
|
|||||||
items =
|
items =
|
||||||
lastupdate: 0
|
lastupdate: 0
|
||||||
lastchecked: 0
|
lastchecked: 0
|
||||||
$.get items, (items) ->
|
$.get items, ({lastupdate, lastchecked}) ->
|
||||||
if items.lastupdate > now - freq or items.lastchecked > now - $.DAY
|
if (lastupdate > now - freq) or (lastchecked > now - $.DAY)
|
||||||
return
|
return
|
||||||
$.ready ->
|
$.ready ->
|
||||||
$.on window, 'message', Main.message
|
$.on window, 'message', Main.message
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user