be a little less cryptic

This commit is contained in:
James Campos 2010-12-28 13:14:47 -08:00
parent bf6639da25
commit 047f68e70e
2 changed files with 4 additions and 4 deletions

View File

@ -840,7 +840,7 @@ updateTime = ->
updateNow() updateNow()
else if time > 10 else if time > 10
time = 0 time = 0
g.r.abort() g.req.abort()
updateNow() updateNow()
span.textContent = time span.textContent = time
@ -864,7 +864,7 @@ updateInterval = ->
span.textContent = -1 * n span.textContent = -1 * n
updateNow = -> updateNow = ->
g.r = request location.href, updateCallback g.req = request location.href, updateCallback
updaterMake = -> updaterMake = ->
div = AEOS.makeDialog 'updater', 'topright' div = AEOS.makeDialog 'updater', 'topright'

View File

@ -1102,7 +1102,7 @@
updateNow(); updateNow();
} else if (time > 10) { } else if (time > 10) {
time = 0; time = 0;
g.r.abort(); g.req.abort();
updateNow(); updateNow();
} }
return span.textContent = time; return span.textContent = time;
@ -1131,7 +1131,7 @@
} }
}; };
updateNow = function() { updateNow = function() {
return g.r = request(location.href, updateCallback); return g.req = request(location.href, updateCallback);
}; };
updaterMake = function() { updaterMake = function() {
var auto, div, html, interval; var auto, div, html, interval;