From 908d9cf581c42d31ff3742ee54dcbbeb7c067401 Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Sun, 24 Jul 2011 10:46:00 +0200 Subject: [PATCH] What was that for anyway. --- 4chan_x.user.js | 3 +-- script.coffee | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index d26c85ba2..c76c20f0b 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -59,7 +59,7 @@ */ (function() { - var $, $$, Favicon, NAMESPACE, Recaptcha, Time, anonymize, conf, config, cooldown, d, expandComment, expandThread, firstRun, g, imgExpand, imgGif, imgHover, imgPreloading, key, keybinds, log, main, nav, nodeInserted, options, qr, quoteBacklink, quoteInline, quoteOP, quotePreview, redirect, replyHiding, reportButton, revealSpoilers, sauce, threadHiding, threadStats, threading, titlePost, ui, unread, updater, val, watcher, _ref; + var $, $$, Favicon, NAMESPACE, Recaptcha, Time, anonymize, conf, config, cooldown, d, expandComment, expandThread, firstRun, g, imgExpand, imgGif, imgHover, imgPreloading, key, keybinds, log, main, nav, nodeInserted, options, qr, quoteBacklink, quoteInline, quoteOP, quotePreview, redirect, replyHiding, reportButton, revealSpoilers, sauce, threadHiding, threadStats, threading, titlePost, ui, unread, updater, watcher, _ref; var __slice = Array.prototype.slice; config = { main: { @@ -498,7 +498,6 @@ }); } for (key in conf) { - val = conf[key]; conf[key] = $.getValue(key, conf[key]); } $$ = function(selector, root) { diff --git a/script.coffee b/script.coffee index 082888f78..03c5fb09e 100644 --- a/script.coffee +++ b/script.coffee @@ -352,7 +352,7 @@ else localStorage[name] = JSON.stringify value #load values from localStorage -for key, val of conf +for key of conf conf[key] = $.getValue key, conf[key] $$ = (selector, root=d.body) ->