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