This commit is contained in:
Nicolas Stepien 2012-01-21 18:13:35 +01:00
parent 947d4279ec
commit 2068ddccb5

View File

@ -294,7 +294,6 @@
not chainable not chainable
*/ */
$ = function(selector, root) { $ = function(selector, root) {
if (root == null) root = d.body; if (root == null) root = d.body;
return root.querySelector(selector); return root.querySelector(selector);
@ -450,7 +449,6 @@
0200 EST (UTC-05) = 0700 UTC 0200 EST (UTC-05) = 0700 UTC
0200 EDT (UTC-04) = 0600 UTC 0200 EDT (UTC-04) = 0600 UTC
*/ */
var D, date, day, hours, month, sunday; var D, date, day, hours, month, sunday;
D = new Date(); D = new Date();
date = D.getUTCDate(); date = D.getUTCDate();
@ -1640,7 +1638,6 @@
captchas expire after 30 minutes, see window.RecaptchaState.timeout. captchas expire after 30 minutes, see window.RecaptchaState.timeout.
cutoff 5 minutes before then, b/c posting takes time. cutoff 5 minutes before then, b/c posting takes time.
*/ */
cutoff = Date.now() - 25 * MINUTE; cutoff = Date.now() - 25 * MINUTE;
captchas = $.get('captchas', []); captchas = $.get('captchas', []);
while (captcha = captchas.shift()) { while (captcha = captchas.shift()) {
@ -1742,7 +1739,6 @@
To access the parent, we have to break out of the sandbox and evaluate To access the parent, we have to break out of the sandbox and evaluate
in the global context. in the global context.
*/ */
$.globalEval(function() { $.globalEval(function() {
var data, node, _ref; var data, node, _ref;
data = {}; data = {};
@ -2038,7 +2034,6 @@
This saves bandwidth for both the user and the servers, avoid unnecessary computation, This saves bandwidth for both the user and the servers, avoid unnecessary computation,
and won't load images and scripts when parsing the response. and won't load images and scripts when parsing the response.
*/ */
if (this.status === 304) { if (this.status === 304) {
if (conf['Verbose']) { if (conf['Verbose']) {
updater.count.textContent = '+0'; updater.count.textContent = '+0';