From e973fcc125290373a12c7091a0d17f94f91e5d80 Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Mon, 28 May 2012 15:20:21 +0200 Subject: [PATCH] Release 2.30.7. --- 4chan_x.user.js | 10 +++++----- Cakefile | 2 +- changelog | 6 ++++++ latest.js | 2 +- script.coffee | 3 ++- 5 files changed, 15 insertions(+), 8 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index 3419b9f5a..c3156f93f 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan x -// @version 2.30.6 +// @version 2.30.7 // @namespace aeosynth // @description Adds various features. // @copyright 2009-2011 James Campos @@ -19,7 +19,7 @@ * Copyright (c) 2009-2011 James Campos * Copyright (c) 2012 Nicolas Stepien * http://mayhemydg.github.com/4chan-x/ - * 4chan X 2.30.6 + * 4chan X 2.30.7 * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation @@ -4081,12 +4081,12 @@ Main.hasCodeTags = !!$('script[src="//static.4chan.org/js/prettify/prettify.js"]'); if (MutationObserver = window.WebKitMutationObserver || window.MozMutationObserver || window.OMutationObserver || window.MutationObserver) { observer = new MutationObserver(Main.observer); - return observer.observe(board, { + observer.observe(board, { childList: true, subtree: true }); } else { - return $.on(board, 'DOMNodeInserted', Main.listener); + $.on(board, 'DOMNodeInserted', Main.listener); } }, flatten: function(parent, obj) { @@ -4202,7 +4202,7 @@ return $.globalEval(("(" + code + ")()").replace('_id_', bq.id)); }, namespace: '4chan_x.', - version: '2.30.6', + version: '2.30.7', callbacks: [], css: '\ /* dialog styling */\ diff --git a/Cakefile b/Cakefile index f8b36946c..55121cc01 100644 --- a/Cakefile +++ b/Cakefile @@ -2,7 +2,7 @@ {exec} = require 'child_process' fs = require 'fs' -VERSION = '2.30.6' +VERSION = '2.30.7' HEADER = """ // ==UserScript== diff --git a/changelog b/changelog index fd9381b0d..60172bcb8 100644 --- a/changelog +++ b/changelog @@ -1,5 +1,11 @@ master +2.30.7 +- aeosynth + Fix expanding comments on /g/. +- Mayhem + Fix file size info in case of spoiler image. + 2.30.6 - Mayhem Fix file size formatting always using integers. diff --git a/latest.js b/latest.js index 6090b2aa6..8a3ad74cf 100644 --- a/latest.js +++ b/latest.js @@ -1 +1 @@ -postMessage({version:'2.30.6'},'*') \ No newline at end of file +postMessage({version:'2.30.7'},'*') \ No newline at end of file diff --git a/script.coffee b/script.coffee index 45ba65eb2..cb3d57c66 100644 --- a/script.coffee +++ b/script.coffee @@ -3115,6 +3115,7 @@ Main = subtree: true else $.on board, 'DOMNodeInserted', Main.listener + return flatten: (parent, obj) -> if obj instanceof Array @@ -3189,7 +3190,7 @@ Main = $.globalEval "(#{code})()".replace '_id_', bq.id namespace: '4chan_x.' - version: '2.30.6' + version: '2.30.7' callbacks: [] css: ' /* dialog styling */