fix name clash

This commit is contained in:
James Campos 2011-01-03 00:59:11 -08:00
parent 452c2e0bca
commit fd94f7da60
2 changed files with 11 additions and 11 deletions

View File

@ -868,14 +868,14 @@ updateAuto = ->
clearInterval g.interval
updateInterval = ->
unless n = Number @value
n = 10
@value = n
GM_setValue 'Interval', n
unless num = Number @value
num = 10
@value = num
GM_setValue 'Interval', num
span = $ '#updater #timer'
if 0 > Number span.textContent
span.textContent = -1 * n
span.textContent = -1 * num
updateNow = ->
g.req = request location.href, updateCallback

View File

@ -1120,15 +1120,15 @@
}
};
updateInterval = function() {
var span;
if (!(n = Number(this.value))) {
n = 10;
var num, span;
if (!(num = Number(this.value))) {
num = 10;
}
this.value = n;
GM_setValue('Interval', n);
this.value = num;
GM_setValue('Interval', num);
span = $('#updater #timer');
if (0 > Number(span.textContent)) {
return span.textContent = -1 * n;
return span.textContent = -1 * num;
}
};
updateNow = function() {