diff --git a/CHANGELOG.md b/CHANGELOG.md index 79049d2db..7c064b384 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ Sometimes the changelog has notes (not comprehensive) acknowledging people's wor ### v1.11.16 +**v1.11.16.3** *(2015-11-14)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.16.3/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.16.3/builds/4chan-X-noupdate.crx "Chromium version")] +- Fix bug from v1.11.16.0 causing Quick Reply to stop working after an error. + **v1.11.16.2** *(2015-11-10)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.16.2/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.16.2/builds/4chan-X-noupdate.crx "Chromium version")] - CSS bugfix. diff --git a/builds/4chan-X-beta.crx b/builds/4chan-X-beta.crx index f9c1e8f05..61e00f3fb 100644 Binary files a/builds/4chan-X-beta.crx and b/builds/4chan-X-beta.crx differ diff --git a/builds/4chan-X-beta.meta.js b/builds/4chan-X-beta.meta.js index be8f250ce..a5ce4ae2b 100644 --- a/builds/4chan-X-beta.meta.js +++ b/builds/4chan-X-beta.meta.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X beta -// @version 1.11.16.2 +// @version 1.11.16.3 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X diff --git a/builds/4chan-X-beta.user.js b/builds/4chan-X-beta.user.js index 9f6c02566..00d78775f 100644 --- a/builds/4chan-X-beta.user.js +++ b/builds/4chan-X-beta.user.js @@ -1,7 +1,7 @@ // Generated by CoffeeScript // ==UserScript== // @name 4chan X beta -// @version 1.11.16.2 +// @version 1.11.16.3 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -115,7 +115,7 @@ 'use strict'; (function() { - var $, $$, Anonymize, AntiAutoplay, ArchiveLink, Banner, Board, Build, Callbacks, Captcha, CatalogLinks, CatalogThread, Clone, Conf, Config, Connection, CrossOrigin, CustomCSS, DataBoard, DeleteLink, DownloadLink, E, Embedding, ExpandComment, ExpandThread, FappeTyme, Favicon, Fetcher, FileInfo, Filter, Flash, Fourchan, Gallery, Get, Header, IDColor, IDHighlight, ImageCommon, ImageExpand, ImageHover, ImageLoader, Index, Keybinds, Linkify, Main, MarkNewIPs, Menu, Metadata, Nav, NormalizeURL, Notice, PSAHiding, PassLink, Polyfill, Post, PostHiding, PostSuccessful, QR, QuoteBacklink, QuoteCT, QuoteInline, QuoteOP, QuotePreview, QuoteStrikeThrough, QuoteThreading, QuoteYou, Quotify, RandomAccessList, Recursive, Redirect, RelativeDates, RemoveSpoilers, Report, ReportLink, RevealSpoilers, Sauce, Settings, ShimSet, SimpleDict, Thread, ThreadExcerpt, ThreadHiding, ThreadLinks, ThreadStats, ThreadUpdater, ThreadWatcher, Time, UI, Unread, Volume, c, d, doc, err, g, + var $, $$, Anonymize, AntiAutoplay, ArchiveLink, Banner, Board, Build, Callbacks, Captcha, CatalogLinks, CatalogThread, Clone, Conf, Config, Connection, CrossOrigin, CustomCSS, DataBoard, DeleteLink, DownloadLink, E, Embedding, ExpandComment, ExpandThread, FappeTyme, Favicon, Fetcher, FileInfo, Filter, Flash, Fourchan, Gallery, Get, Header, IDColor, IDHighlight, ImageCommon, ImageExpand, ImageHover, ImageLoader, Index, Keybinds, Linkify, Main, MarkNewIPs, Menu, Metadata, Nav, NormalizeURL, Notice, PSAHiding, PassLink, Polyfill, Post, PostHiding, PostSuccessful, QR, QuoteBacklink, QuoteCT, QuoteInline, QuoteOP, QuotePreview, QuoteStrikeThrough, QuoteThreading, QuoteYou, Quotify, RandomAccessList, Recursive, Redirect, RelativeDates, RemoveSpoilers, Report, ReportLink, RevealSpoilers, Sauce, Settings, ShimSet, SimpleDict, Thread, ThreadExcerpt, ThreadHiding, ThreadLinks, ThreadStats, ThreadUpdater, ThreadWatcher, Time, UI, Unread, Volume, c, d, doc, g, slice = [].slice, indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; }, extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, @@ -433,7 +433,7 @@ doc = d.documentElement; g = { - VERSION: '1.11.16.2', + VERSION: '1.11.16.3', NAMESPACE: '4chan X.', boards: {} }; @@ -960,13 +960,16 @@ } })(); - try { - localStorage.getItem('x'); - $.hasStorage = true; - } catch (_error) { - err = _error; - $.hasStorage = false; - } + (function() { + var err; + try { + localStorage.getItem('x'); + return $.hasStorage = true; + } catch (_error) { + err = _error; + return $.hasStorage = false; + } + })(); $.item = function(key, val) { var item; @@ -1188,7 +1191,7 @@ }; Callbacks.prototype.execute = function(node, keys) { - var errors, k, len1, name, ref; + var err, errors, k, len1, name, ref; if (keys == null) { keys = this.keys; } @@ -3803,7 +3806,7 @@ return $.addClass(Index.button, 'fa-spin'); }, load: function(e, state) { - var nTimeout, notice, ref, req, timeEl; + var err, nTimeout, notice, ref, req, timeEl; $.rmClass(Index.button, 'fa-spin'); req = Index.req, notice = Index.notice, nTimeout = Index.nTimeout; if (nTimeout) { @@ -3887,7 +3890,7 @@ }); }, buildThreads: function() { - var errors, i, k, len1, posts, ref, thread, threadData, threadRoot, threads; + var err, errors, i, k, len1, posts, ref, thread, threadData, threadRoot, threads; Index.nodes = []; threads = []; posts = []; @@ -3934,7 +3937,7 @@ return $.event('IndexRefresh'); }, buildReplies: function(threadRoots) { - var data, errors, i, k, lastReplies, len1, len2, node, nodes, post, posts, q, thread, threadRoot; + var data, err, errors, i, k, lastReplies, len1, len2, node, nodes, post, posts, q, thread, threadRoot; posts = []; for (k = 0, len1 = threadRoots.length; k < len1; k++) { threadRoot = threadRoots[k]; @@ -4728,7 +4731,7 @@ }; Menu.prototype.insertEntry = function(entry, parent, data) { - var k, len1, ref, subEntry, submenu; + var err, k, len1, ref, subEntry, submenu; if (typeof entry.open === 'function') { try { if (!entry.open(data)) { @@ -5219,7 +5222,7 @@ Filter = { filters: {}, init: function() { - var boards, filter, hl, k, key, len1, line, op, ref, ref1, ref2, ref3, ref4, ref5, regexp, stub, top; + var boards, err, filter, hl, k, key, len1, line, op, ref, ref1, ref2, ref3, ref4, ref5, regexp, stub, top; if (!(((ref = g.VIEW) === 'index' || ref === 'thread') && Conf['Filter'])) { return; } @@ -7051,6 +7054,7 @@ } }, open: function() { + var err; if (QR.nodes) { if (QR.nodes.el.hidden) { QR.captcha.setup(); @@ -7641,7 +7645,7 @@ return $.event('QRDialogCreation', null, dialog); }, submit: function(e) { - var captcha, cb, extra, filetag, formData, options, post, ref, textOnly, thread, threadID; + var captcha, cb, err, extra, filetag, formData, options, post, ref, textOnly, thread, threadID; if (e != null) { e.preventDefault(); } @@ -7775,7 +7779,7 @@ return QR.status(); }, response: function() { - var URL, _, ban, h1, isReply, lastPostToThread, m, open, post, postID, postsCount, ref, ref1, req, resDoc, seconds, threadID; + var URL, _, ban, err, h1, isReply, lastPostToThread, m, open, post, postID, postsCount, ref, ref1, req, resDoc, seconds, threadID; req = QR.req; delete QR.req; post = QR.posts[0]; @@ -11377,7 +11381,7 @@ Sauce = { init: function() { - var k, len1, link, links, ref, ref1; + var err, k, len1, link, links, ref, ref1; if (!(((ref = g.VIEW) === 'index' || ref === 'thread') && Conf['Sauce'])) { return; } @@ -16835,6 +16839,7 @@ } reader = new FileReader(); reader.onload = function(e) { + var err; try { return Settings.loadSettings(JSON.parse(e.target.result), function(err) { if (err) { @@ -17458,7 +17463,7 @@ }); }, initFeatures: function() { - var feature, hostname, k, len1, match, name, pathname, ref, ref1, ref2, ref3, search; + var err, feature, hostname, k, len1, match, name, pathname, ref, ref1, ref2, ref3, search; hostname = location.hostname, search = location.search; pathname = location.pathname.split(/\/+/); if (hostname !== 'www.4chan.org') { @@ -17636,7 +17641,7 @@ } }, initThread: function() { - var board, errors, k, len1, len2, m, postRoot, posts, q, ref, ref1, scriptData, thread, threadRoot, threads; + var board, err, errors, k, len1, len2, m, postRoot, posts, q, ref, ref1, scriptData, thread, threadRoot, threads; if (board = $('.board')) { threads = []; posts = []; diff --git a/builds/4chan-X-noupdate.crx b/builds/4chan-X-noupdate.crx index 65ed70580..e18717e44 100644 Binary files a/builds/4chan-X-noupdate.crx and b/builds/4chan-X-noupdate.crx differ diff --git a/builds/4chan-X-noupdate.user.js b/builds/4chan-X-noupdate.user.js index 5497f63ee..07c76df75 100644 --- a/builds/4chan-X-noupdate.user.js +++ b/builds/4chan-X-noupdate.user.js @@ -1,7 +1,7 @@ // Generated by CoffeeScript // ==UserScript== // @name 4chan X -// @version 1.11.16.2 +// @version 1.11.16.3 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -115,7 +115,7 @@ 'use strict'; (function() { - var $, $$, Anonymize, AntiAutoplay, ArchiveLink, Banner, Board, Build, Callbacks, Captcha, CatalogLinks, CatalogThread, Clone, Conf, Config, Connection, CrossOrigin, CustomCSS, DataBoard, DeleteLink, DownloadLink, E, Embedding, ExpandComment, ExpandThread, FappeTyme, Favicon, Fetcher, FileInfo, Filter, Flash, Fourchan, Gallery, Get, Header, IDColor, IDHighlight, ImageCommon, ImageExpand, ImageHover, ImageLoader, Index, Keybinds, Linkify, Main, MarkNewIPs, Menu, Metadata, Nav, NormalizeURL, Notice, PSAHiding, PassLink, Polyfill, Post, PostHiding, PostSuccessful, QR, QuoteBacklink, QuoteCT, QuoteInline, QuoteOP, QuotePreview, QuoteStrikeThrough, QuoteThreading, QuoteYou, Quotify, RandomAccessList, Recursive, Redirect, RelativeDates, RemoveSpoilers, Report, ReportLink, RevealSpoilers, Sauce, Settings, ShimSet, SimpleDict, Thread, ThreadExcerpt, ThreadHiding, ThreadLinks, ThreadStats, ThreadUpdater, ThreadWatcher, Time, UI, Unread, Volume, c, d, doc, err, g, + var $, $$, Anonymize, AntiAutoplay, ArchiveLink, Banner, Board, Build, Callbacks, Captcha, CatalogLinks, CatalogThread, Clone, Conf, Config, Connection, CrossOrigin, CustomCSS, DataBoard, DeleteLink, DownloadLink, E, Embedding, ExpandComment, ExpandThread, FappeTyme, Favicon, Fetcher, FileInfo, Filter, Flash, Fourchan, Gallery, Get, Header, IDColor, IDHighlight, ImageCommon, ImageExpand, ImageHover, ImageLoader, Index, Keybinds, Linkify, Main, MarkNewIPs, Menu, Metadata, Nav, NormalizeURL, Notice, PSAHiding, PassLink, Polyfill, Post, PostHiding, PostSuccessful, QR, QuoteBacklink, QuoteCT, QuoteInline, QuoteOP, QuotePreview, QuoteStrikeThrough, QuoteThreading, QuoteYou, Quotify, RandomAccessList, Recursive, Redirect, RelativeDates, RemoveSpoilers, Report, ReportLink, RevealSpoilers, Sauce, Settings, ShimSet, SimpleDict, Thread, ThreadExcerpt, ThreadHiding, ThreadLinks, ThreadStats, ThreadUpdater, ThreadWatcher, Time, UI, Unread, Volume, c, d, doc, g, slice = [].slice, indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; }, extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, @@ -433,7 +433,7 @@ doc = d.documentElement; g = { - VERSION: '1.11.16.2', + VERSION: '1.11.16.3', NAMESPACE: '4chan X.', boards: {} }; @@ -960,13 +960,16 @@ } })(); - try { - localStorage.getItem('x'); - $.hasStorage = true; - } catch (_error) { - err = _error; - $.hasStorage = false; - } + (function() { + var err; + try { + localStorage.getItem('x'); + return $.hasStorage = true; + } catch (_error) { + err = _error; + return $.hasStorage = false; + } + })(); $.item = function(key, val) { var item; @@ -1188,7 +1191,7 @@ }; Callbacks.prototype.execute = function(node, keys) { - var errors, k, len1, name, ref; + var err, errors, k, len1, name, ref; if (keys == null) { keys = this.keys; } @@ -3803,7 +3806,7 @@ return $.addClass(Index.button, 'fa-spin'); }, load: function(e, state) { - var nTimeout, notice, ref, req, timeEl; + var err, nTimeout, notice, ref, req, timeEl; $.rmClass(Index.button, 'fa-spin'); req = Index.req, notice = Index.notice, nTimeout = Index.nTimeout; if (nTimeout) { @@ -3887,7 +3890,7 @@ }); }, buildThreads: function() { - var errors, i, k, len1, posts, ref, thread, threadData, threadRoot, threads; + var err, errors, i, k, len1, posts, ref, thread, threadData, threadRoot, threads; Index.nodes = []; threads = []; posts = []; @@ -3934,7 +3937,7 @@ return $.event('IndexRefresh'); }, buildReplies: function(threadRoots) { - var data, errors, i, k, lastReplies, len1, len2, node, nodes, post, posts, q, thread, threadRoot; + var data, err, errors, i, k, lastReplies, len1, len2, node, nodes, post, posts, q, thread, threadRoot; posts = []; for (k = 0, len1 = threadRoots.length; k < len1; k++) { threadRoot = threadRoots[k]; @@ -4728,7 +4731,7 @@ }; Menu.prototype.insertEntry = function(entry, parent, data) { - var k, len1, ref, subEntry, submenu; + var err, k, len1, ref, subEntry, submenu; if (typeof entry.open === 'function') { try { if (!entry.open(data)) { @@ -5219,7 +5222,7 @@ Filter = { filters: {}, init: function() { - var boards, filter, hl, k, key, len1, line, op, ref, ref1, ref2, ref3, ref4, ref5, regexp, stub, top; + var boards, err, filter, hl, k, key, len1, line, op, ref, ref1, ref2, ref3, ref4, ref5, regexp, stub, top; if (!(((ref = g.VIEW) === 'index' || ref === 'thread') && Conf['Filter'])) { return; } @@ -7051,6 +7054,7 @@ } }, open: function() { + var err; if (QR.nodes) { if (QR.nodes.el.hidden) { QR.captcha.setup(); @@ -7641,7 +7645,7 @@ return $.event('QRDialogCreation', null, dialog); }, submit: function(e) { - var captcha, cb, extra, filetag, formData, options, post, ref, textOnly, thread, threadID; + var captcha, cb, err, extra, filetag, formData, options, post, ref, textOnly, thread, threadID; if (e != null) { e.preventDefault(); } @@ -7775,7 +7779,7 @@ return QR.status(); }, response: function() { - var URL, _, ban, h1, isReply, lastPostToThread, m, open, post, postID, postsCount, ref, ref1, req, resDoc, seconds, threadID; + var URL, _, ban, err, h1, isReply, lastPostToThread, m, open, post, postID, postsCount, ref, ref1, req, resDoc, seconds, threadID; req = QR.req; delete QR.req; post = QR.posts[0]; @@ -11377,7 +11381,7 @@ Sauce = { init: function() { - var k, len1, link, links, ref, ref1; + var err, k, len1, link, links, ref, ref1; if (!(((ref = g.VIEW) === 'index' || ref === 'thread') && Conf['Sauce'])) { return; } @@ -16835,6 +16839,7 @@ } reader = new FileReader(); reader.onload = function(e) { + var err; try { return Settings.loadSettings(JSON.parse(e.target.result), function(err) { if (err) { @@ -17458,7 +17463,7 @@ }); }, initFeatures: function() { - var feature, hostname, k, len1, match, name, pathname, ref, ref1, ref2, ref3, search; + var err, feature, hostname, k, len1, match, name, pathname, ref, ref1, ref2, ref3, search; hostname = location.hostname, search = location.search; pathname = location.pathname.split(/\/+/); if (hostname !== 'www.4chan.org') { @@ -17636,7 +17641,7 @@ } }, initThread: function() { - var board, errors, k, len1, len2, m, postRoot, posts, q, ref, ref1, scriptData, thread, threadRoot, threads; + var board, err, errors, k, len1, len2, m, postRoot, posts, q, ref, ref1, scriptData, thread, threadRoot, threads; if (board = $('.board')) { threads = []; posts = []; diff --git a/builds/4chan-X.crx b/builds/4chan-X.crx index c501a4529..8caa88bdb 100644 Binary files a/builds/4chan-X.crx and b/builds/4chan-X.crx differ diff --git a/builds/4chan-X.meta.js b/builds/4chan-X.meta.js index 0f3916de3..c2420ff39 100644 --- a/builds/4chan-X.meta.js +++ b/builds/4chan-X.meta.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X -// @version 1.11.16.2 +// @version 1.11.16.3 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index 6c8c7f307..2c6d0682b 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -1,7 +1,7 @@ // Generated by CoffeeScript // ==UserScript== // @name 4chan X -// @version 1.11.16.2 +// @version 1.11.16.3 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -115,7 +115,7 @@ 'use strict'; (function() { - var $, $$, Anonymize, AntiAutoplay, ArchiveLink, Banner, Board, Build, Callbacks, Captcha, CatalogLinks, CatalogThread, Clone, Conf, Config, Connection, CrossOrigin, CustomCSS, DataBoard, DeleteLink, DownloadLink, E, Embedding, ExpandComment, ExpandThread, FappeTyme, Favicon, Fetcher, FileInfo, Filter, Flash, Fourchan, Gallery, Get, Header, IDColor, IDHighlight, ImageCommon, ImageExpand, ImageHover, ImageLoader, Index, Keybinds, Linkify, Main, MarkNewIPs, Menu, Metadata, Nav, NormalizeURL, Notice, PSAHiding, PassLink, Polyfill, Post, PostHiding, PostSuccessful, QR, QuoteBacklink, QuoteCT, QuoteInline, QuoteOP, QuotePreview, QuoteStrikeThrough, QuoteThreading, QuoteYou, Quotify, RandomAccessList, Recursive, Redirect, RelativeDates, RemoveSpoilers, Report, ReportLink, RevealSpoilers, Sauce, Settings, ShimSet, SimpleDict, Thread, ThreadExcerpt, ThreadHiding, ThreadLinks, ThreadStats, ThreadUpdater, ThreadWatcher, Time, UI, Unread, Volume, c, d, doc, err, g, + var $, $$, Anonymize, AntiAutoplay, ArchiveLink, Banner, Board, Build, Callbacks, Captcha, CatalogLinks, CatalogThread, Clone, Conf, Config, Connection, CrossOrigin, CustomCSS, DataBoard, DeleteLink, DownloadLink, E, Embedding, ExpandComment, ExpandThread, FappeTyme, Favicon, Fetcher, FileInfo, Filter, Flash, Fourchan, Gallery, Get, Header, IDColor, IDHighlight, ImageCommon, ImageExpand, ImageHover, ImageLoader, Index, Keybinds, Linkify, Main, MarkNewIPs, Menu, Metadata, Nav, NormalizeURL, Notice, PSAHiding, PassLink, Polyfill, Post, PostHiding, PostSuccessful, QR, QuoteBacklink, QuoteCT, QuoteInline, QuoteOP, QuotePreview, QuoteStrikeThrough, QuoteThreading, QuoteYou, Quotify, RandomAccessList, Recursive, Redirect, RelativeDates, RemoveSpoilers, Report, ReportLink, RevealSpoilers, Sauce, Settings, ShimSet, SimpleDict, Thread, ThreadExcerpt, ThreadHiding, ThreadLinks, ThreadStats, ThreadUpdater, ThreadWatcher, Time, UI, Unread, Volume, c, d, doc, g, slice = [].slice, indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; }, extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, @@ -433,7 +433,7 @@ doc = d.documentElement; g = { - VERSION: '1.11.16.2', + VERSION: '1.11.16.3', NAMESPACE: '4chan X.', boards: {} }; @@ -960,13 +960,16 @@ } })(); - try { - localStorage.getItem('x'); - $.hasStorage = true; - } catch (_error) { - err = _error; - $.hasStorage = false; - } + (function() { + var err; + try { + localStorage.getItem('x'); + return $.hasStorage = true; + } catch (_error) { + err = _error; + return $.hasStorage = false; + } + })(); $.item = function(key, val) { var item; @@ -1188,7 +1191,7 @@ }; Callbacks.prototype.execute = function(node, keys) { - var errors, k, len1, name, ref; + var err, errors, k, len1, name, ref; if (keys == null) { keys = this.keys; } @@ -3803,7 +3806,7 @@ return $.addClass(Index.button, 'fa-spin'); }, load: function(e, state) { - var nTimeout, notice, ref, req, timeEl; + var err, nTimeout, notice, ref, req, timeEl; $.rmClass(Index.button, 'fa-spin'); req = Index.req, notice = Index.notice, nTimeout = Index.nTimeout; if (nTimeout) { @@ -3887,7 +3890,7 @@ }); }, buildThreads: function() { - var errors, i, k, len1, posts, ref, thread, threadData, threadRoot, threads; + var err, errors, i, k, len1, posts, ref, thread, threadData, threadRoot, threads; Index.nodes = []; threads = []; posts = []; @@ -3934,7 +3937,7 @@ return $.event('IndexRefresh'); }, buildReplies: function(threadRoots) { - var data, errors, i, k, lastReplies, len1, len2, node, nodes, post, posts, q, thread, threadRoot; + var data, err, errors, i, k, lastReplies, len1, len2, node, nodes, post, posts, q, thread, threadRoot; posts = []; for (k = 0, len1 = threadRoots.length; k < len1; k++) { threadRoot = threadRoots[k]; @@ -4728,7 +4731,7 @@ }; Menu.prototype.insertEntry = function(entry, parent, data) { - var k, len1, ref, subEntry, submenu; + var err, k, len1, ref, subEntry, submenu; if (typeof entry.open === 'function') { try { if (!entry.open(data)) { @@ -5219,7 +5222,7 @@ Filter = { filters: {}, init: function() { - var boards, filter, hl, k, key, len1, line, op, ref, ref1, ref2, ref3, ref4, ref5, regexp, stub, top; + var boards, err, filter, hl, k, key, len1, line, op, ref, ref1, ref2, ref3, ref4, ref5, regexp, stub, top; if (!(((ref = g.VIEW) === 'index' || ref === 'thread') && Conf['Filter'])) { return; } @@ -7051,6 +7054,7 @@ } }, open: function() { + var err; if (QR.nodes) { if (QR.nodes.el.hidden) { QR.captcha.setup(); @@ -7641,7 +7645,7 @@ return $.event('QRDialogCreation', null, dialog); }, submit: function(e) { - var captcha, cb, extra, filetag, formData, options, post, ref, textOnly, thread, threadID; + var captcha, cb, err, extra, filetag, formData, options, post, ref, textOnly, thread, threadID; if (e != null) { e.preventDefault(); } @@ -7775,7 +7779,7 @@ return QR.status(); }, response: function() { - var URL, _, ban, h1, isReply, lastPostToThread, m, open, post, postID, postsCount, ref, ref1, req, resDoc, seconds, threadID; + var URL, _, ban, err, h1, isReply, lastPostToThread, m, open, post, postID, postsCount, ref, ref1, req, resDoc, seconds, threadID; req = QR.req; delete QR.req; post = QR.posts[0]; @@ -11377,7 +11381,7 @@ Sauce = { init: function() { - var k, len1, link, links, ref, ref1; + var err, k, len1, link, links, ref, ref1; if (!(((ref = g.VIEW) === 'index' || ref === 'thread') && Conf['Sauce'])) { return; } @@ -16835,6 +16839,7 @@ } reader = new FileReader(); reader.onload = function(e) { + var err; try { return Settings.loadSettings(JSON.parse(e.target.result), function(err) { if (err) { @@ -17458,7 +17463,7 @@ }); }, initFeatures: function() { - var feature, hostname, k, len1, match, name, pathname, ref, ref1, ref2, ref3, search; + var err, feature, hostname, k, len1, match, name, pathname, ref, ref1, ref2, ref3, search; hostname = location.hostname, search = location.search; pathname = location.pathname.split(/\/+/); if (hostname !== 'www.4chan.org') { @@ -17636,7 +17641,7 @@ } }, initThread: function() { - var board, errors, k, len1, len2, m, postRoot, posts, q, ref, ref1, scriptData, thread, threadRoot, threads; + var board, err, errors, k, len1, len2, m, postRoot, posts, q, ref, ref1, scriptData, thread, threadRoot, threads; if (board = $('.board')) { threads = []; posts = []; diff --git a/builds/4chan-X.zip b/builds/4chan-X.zip index 6a772a816..5252335b2 100644 Binary files a/builds/4chan-X.zip and b/builds/4chan-X.zip differ diff --git a/builds/updates-beta.xml b/builds/updates-beta.xml index 778b405c9..f58407ed7 100644 --- a/builds/updates-beta.xml +++ b/builds/updates-beta.xml @@ -1,7 +1,7 @@ - + diff --git a/builds/updates.xml b/builds/updates.xml index 15ae9642d..b1a4b5d7c 100644 --- a/builds/updates.xml +++ b/builds/updates.xml @@ -1,7 +1,7 @@ - + diff --git a/version.json b/version.json index 3d73d4068..13af1cdfe 100644 --- a/version.json +++ b/version.json @@ -1,4 +1,4 @@ { - "version": "1.11.16.2", - "date": "2015-11-11T03:03:12.284Z" + "version": "1.11.16.3", + "date": "2015-11-14T09:01:12.620Z" }