From 49d7ef94d74c301cfeaea766f9beb76137f5aaf1 Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Mon, 12 Mar 2012 11:51:01 +0100 Subject: [PATCH] "DeadQuotes" -> "Quotify" --- 4chan_x.user.js | 8 ++++---- script.coffee | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index a5c376df1..d2d72f152 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -73,7 +73,7 @@ */ (function() { - var $, $$, Anonymize, AutoGif, DAY, DeadQuotes, ExpandComment, ExpandThread, Favicon, FileInfo, Filter, GetTitle, HOUR, ImageExpand, ImageHover, Keybinds, MINUTE, Main, NAMESPACE, Nav, Options, QuoteBacklink, QuoteCT, QuoteInline, QuoteOP, QuotePreview, Redirect, ReplyHiding, ReportButton, RevealSpoilers, SECOND, Sauce, StrikethroughQuotes, ThreadHiding, ThreadStats, Threading, Time, TitlePost, Unread, Updater, VERSION, Watcher, conf, config, d, engine, flatten, g, log, qr, ui, _base; + var $, $$, Anonymize, AutoGif, DAY, ExpandComment, ExpandThread, Favicon, FileInfo, Filter, GetTitle, HOUR, ImageExpand, ImageHover, Keybinds, MINUTE, Main, NAMESPACE, Nav, Options, QuoteBacklink, QuoteCT, QuoteInline, QuoteOP, QuotePreview, Quotify, Redirect, ReplyHiding, ReportButton, RevealSpoilers, SECOND, Sauce, StrikethroughQuotes, ThreadHiding, ThreadStats, Threading, Time, TitlePost, Unread, Updater, VERSION, Watcher, conf, config, d, engine, flatten, g, log, qr, ui, _base; config = { main: { @@ -761,7 +761,7 @@ quotes: quotes, backlinks: [] }; - if (conf['Resurrect Quotes']) DeadQuotes.node(post); + if (conf['Resurrect Quotes']) Quotify.node(post); if (conf['Quote Preview']) QuotePreview.node(post); if (conf['Quote Inline']) QuoteInline.node(post); if (conf['Indicate OP quote']) QuoteOP.node(post); @@ -3340,7 +3340,7 @@ } }; - DeadQuotes = { + Quotify = { init: function() { return g.callbacks.push(this.node); }, @@ -3885,7 +3885,7 @@ if (conf['Image Auto-Gif']) AutoGif.init(); if (conf['Image Hover']) ImageHover.init(); if (conf['Report Button']) ReportButton.init(); - if (conf['Resurrect Quotes']) DeadQuotes.init(); + if (conf['Resurrect Quotes']) Quotify.init(); if (conf['Quote Inline']) QuoteInline.init(); if (conf['Quote Preview']) QuotePreview.init(); if (conf['Quote Backlinks']) QuoteBacklink.init(); diff --git a/script.coffee b/script.coffee index c44805206..48cda8e07 100644 --- a/script.coffee +++ b/script.coffee @@ -659,7 +659,7 @@ ExpandComment = quotes: quotes backlinks: [] if conf['Resurrect Quotes'] - DeadQuotes.node post + Quotify.node post if conf['Quote Preview'] QuotePreview.node post if conf['Quote Inline'] @@ -2771,7 +2771,7 @@ QuoteCT = $.add quote, $.tn '\u00A0(Cross-thread)' return -DeadQuotes = +Quotify = init: -> g.callbacks.push @node node: (post) -> @@ -3247,7 +3247,7 @@ Main = ReportButton.init() if conf['Resurrect Quotes'] - DeadQuotes.init() + Quotify.init() if conf['Quote Inline'] QuoteInline.init()