Release 2.32.1.

This commit is contained in:
Nicolas Stepien 2012-06-13 18:52:40 +02:00
parent 1fe97ca11a
commit 2e186e553f
5 changed files with 14 additions and 8 deletions

View File

@ -1,6 +1,6 @@
// ==UserScript== // ==UserScript==
// @name 4chan x // @name 4chan x
// @version 2.32.0 // @version 2.32.1
// @namespace aeosynth // @namespace aeosynth
// @description Adds various features. // @description Adds various features.
// @copyright 2009-2011 James Campos <james.r.campos@gmail.com> // @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) 2009-2011 James Campos <james.r.campos@gmail.com>
* Copyright (c) 2012 Nicolas Stepien <stepien.nicolas@gmail.com> * Copyright (c) 2012 Nicolas Stepien <stepien.nicolas@gmail.com>
* http://mayhemydg.github.com/4chan-x/ * http://mayhemydg.github.com/4chan-x/
* 4chan X 2.32.0 * 4chan X 2.32.1
* *
* Permission is hereby granted, free of charge, to any person * Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation * obtaining a copy of this software and associated documentation
@ -319,7 +319,9 @@
fd = new FormData(); fd = new FormData();
for (key in arg) { for (key in arg) {
val = arg[key]; val = arg[key];
fd.append(key, val); if (val) {
fd.append(key, val);
}
} }
} }
return fd; return fd;
@ -4359,7 +4361,7 @@
return $.globalEval(("(" + code + ")()").replace('_id_', bq.id)); return $.globalEval(("(" + code + ")()").replace('_id_', bq.id));
}, },
namespace: '4chan_x.', namespace: '4chan_x.',
version: '2.32.0', version: '2.32.1',
callbacks: [], callbacks: [],
css: '\ css: '\
/* dialog styling */\ /* dialog styling */\

View File

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

View File

@ -1,5 +1,9 @@
master master
2.32.1
- Mayhem
Fix images uploaded as spoilers.
2.32.0 2.32.0
- aeosynth - aeosynth
delete button delete button

View File

@ -1 +1 @@
postMessage({version:'2.32.0'},'*') postMessage({version:'2.32.1'},'*')

View File

@ -272,7 +272,7 @@ $.extend $,
else else
fd = new FormData() fd = new FormData()
for key, val of arg for key, val of arg
fd.append key, val fd.append key, val if val
fd fd
ajax: (url, callbacks, opts={}) -> ajax: (url, callbacks, opts={}) ->
{type, headers, upCallbacks, form} = opts {type, headers, upCallbacks, form} = opts
@ -3314,7 +3314,7 @@ Main =
$.globalEval "(#{code})()".replace '_id_', bq.id $.globalEval "(#{code})()".replace '_id_', bq.id
namespace: '4chan_x.' namespace: '4chan_x.'
version: '2.32.0' version: '2.32.1'
callbacks: [] callbacks: []
css: ' css: '
/* dialog styling */ /* dialog styling */