Upgrade CoffeeScript to 1.5.0.

This commit is contained in:
Nicolas Stepien 2013-02-25 15:41:24 +01:00
parent 95a74a55aa
commit 3900f97df6
2 changed files with 10 additions and 10 deletions

View File

@ -3119,8 +3119,8 @@
return $.on(d, 'visibilitychange', this.cb.visibility); return $.on(d, 'visibilitychange', this.cb.visibility);
}, },
/* /*
http://freesound.org/people/pierrecartoons1979/sounds/90112/ http://freesound.org/people/pierrecartoons1979/sounds/90112/
cc-by-nc-3.0 cc-by-nc-3.0
*/ */
audio: $.el('audio', { audio: $.el('audio', {
@ -3193,9 +3193,9 @@
case 0: case 0:
case 304: case 304:
/* /*
Status Code 304: Not modified Status Code 304: Not modified
By sending the `If-Modified-Since` header we get a proper status code, and no response. By sending the `If-Modified-Since` header we get a proper status code, and no response.
This saves bandwidth for both the user and the servers and avoid unnecessary computation. This saves bandwidth for both the user and the servers and avoid unnecessary computation.
*/ */
Updater.unsuccessfulFetchCount++; Updater.unsuccessfulFetchCount++;
@ -4039,8 +4039,8 @@
}, },
post: function(o, isArchived) { post: function(o, isArchived) {
/* /*
This function contains code from 4chan-JS (https://github.com/4chan/4chan-JS). This function contains code from 4chan-JS (https://github.com/4chan/4chan-JS).
@license: https://github.com/4chan/4chan-JS/blob/master/LICENSE @license: https://github.com/4chan/4chan-JS/blob/master/LICENSE
*/ */
var a, board, capcode, capcodeClass, capcodeStart, closed, comment, container, date, dateUTC, email, emailEnd, emailStart, ext, file, fileDims, fileHTML, fileInfo, fileSize, fileThumb, filename, flag, flagCode, flagName, href, imgSrc, isClosed, isOP, isSticky, name, postID, quote, shortFilename, spoilerRange, staticPath, sticky, subject, threadID, tripcode, uniqueID, userID, _i, _len, _ref; var a, board, capcode, capcodeClass, capcodeStart, closed, comment, container, date, dateUTC, email, emailEnd, emailStart, ext, file, fileDims, fileHTML, fileInfo, fileSize, fileThumb, filename, flag, flagCode, flagName, href, imgSrc, isClosed, isOP, isSticky, name, postID, quote, shortFilename, spoilerRange, staticPath, sticky, subject, threadID, tripcode, uniqueID, userID, _i, _len, _ref;

View File

@ -1911,7 +1911,7 @@ QR =
if g.BOARD is 'f' if g.BOARD is 'f'
$('select[name=filetag]').cloneNode true $('select[name=filetag]').cloneNode true
else else
$.el 'select' $.el 'select',
innerHTML: threads innerHTML: threads
title: 'Create a new thread / Reply to a thread' title: 'Create a new thread / Reply to a thread'
$.prepend $('.move > span', QR.el), QR.threadSelector $.prepend $('.move > span', QR.el), QR.threadSelector
@ -2165,7 +2165,7 @@ Options =
Options.dialog() Options.dialog()
dialog: -> dialog: ->
dialog = $.el 'div' dialog = $.el 'div',
id: 'options' id: 'options'
className: 'reply dialog' className: 'reply dialog'
innerHTML: '<div id=optionsbar> innerHTML: '<div id=optionsbar>
@ -4181,7 +4181,7 @@ ImageHover =
# Don't stop other elements from dragging # Don't stop other elements from dragging
return if UI.el return if UI.el
el = UI.el = $.el 'img' el = UI.el = $.el 'img',
id: 'ihover' id: 'ihover'
src: @parentNode.href src: @parentNode.href
$.add d.body, el $.add d.body, el