Release 2.30.7.

This commit is contained in:
Nicolas Stepien 2012-05-28 15:20:21 +02:00
parent b426e6f8e3
commit e973fcc125
5 changed files with 15 additions and 8 deletions

View File

@ -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 <james.r.campos@gmail.com>
@ -19,7 +19,7 @@
* Copyright (c) 2009-2011 James Campos <james.r.campos@gmail.com>
* Copyright (c) 2012 Nicolas Stepien <stepien.nicolas@gmail.com>
* 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 */\

View File

@ -2,7 +2,7 @@
{exec} = require 'child_process'
fs = require 'fs'
VERSION = '2.30.6'
VERSION = '2.30.7'
HEADER = """
// ==UserScript==

View File

@ -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.

View File

@ -1 +1 @@
postMessage({version:'2.30.6'},'*')
postMessage({version:'2.30.7'},'*')

View File

@ -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 */