Merge branch 'Stable' into Beta

Conflicts:
	LICENSE
	builds/4chan-X-beta.crx
	builds/4chan-X-beta.meta.js
	builds/4chan-X-beta.user.js
	builds/4chan-X-noupdate.crx
	builds/4chan-X-noupdate.user.js
	builds/4chan-X.crx
	builds/4chan-X.meta.js
	builds/4chan-X.user.js
	builds/4chan-X.zip
	builds/updates-beta.xml
	builds/updates.xml
	package.json
This commit is contained in:
ccd0 2014-12-14 12:41:31 -08:00
commit 0af7fb727b
5 changed files with 47 additions and 3 deletions

View File

@ -10,6 +10,12 @@ The links to individual versions below are to copies of the script with the upda
- Add option `Force Noscript Captcha` to use the non-Javascript version of Recaptcha and an interface similar to the old Recaptcha. Also use this version of the captcha if Javascript is disabled on the page (4chan X can be used this way in Greasemonkey 2.x).
<!-- v1.9.15.x -->
### v1.9.15.20
*2014-12-14* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.9.15.20/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.9.15.20/builds/4chan-X-noupdate.crx "Chromium version")]
**ccd0**
- Bugfixes.
### v1.9.15.19
*2014-12-12* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.9.15.19/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.9.15.19/builds/4chan-X-noupdate.crx "Chromium version")]

View File

@ -215,6 +215,41 @@ module.exports = (grunt) ->
options:
template: 'template.jst'
jshint:
options:
undef: true
eqnull: true
expr: true
shadow: true
sub: true
scripturl: true
browser: true
devel: true
nonstandard: true
# XXX Temporarily suppress lots of existing warnings until we fix them.
'-W018': true
'-W027': true
'-W044': true
'-W053': true
'-W084': true
'-W058': true
'-W083': true
'-W093': true
globals:
Notification: true
webkitNotifications: true
HTMLDocument: true
MediaError: true
GM_getValue: true
GM_setValue: true
GM_deleteValue: true
GM_openInTab: true
GM_info: true
GM_xmlhttpRequest: true
cloneInto: true
chrome: true
script: 'tmp-<%= pkg.type %>/*.js'
require('load-grunt-tasks') grunt
grunt.registerTask 'default', [
@ -251,6 +286,7 @@ module.exports = (grunt) ->
'concat:coffee'
'coffee:script'
'coffee:eventPage'
'jshint:script'
'set-channel:stable'
'build-crx-channel'
'set-channel:beta'
@ -274,6 +310,7 @@ module.exports = (grunt) ->
'set-build:userscript'
'concat:coffee'
'coffee:script'
'jshint:script'
'set-channel:stable'
'concat:userscript'
'set-channel:beta'

View File

@ -48,6 +48,7 @@
"grunt-contrib-compress": "0.12.0",
"grunt-contrib-concat": "0.5.0",
"grunt-contrib-copy": "0.7.0",
"grunt-contrib-jshint": "0.10.0",
"grunt-contrib-watch": "0.6.1",
"grunt-crx": "0.3.4",
"grunt-markdown": "0.6.1",
@ -69,4 +70,4 @@
"engines": {
"node": ">=0.10"
}
}
}

View File

@ -317,7 +317,7 @@ Linkify =
embed = file
break
break if embed
return div.textContent = "ERROR: Not a valid filetype" unless embed
return el.textContent = "ERROR: Not a valid filetype" unless embed
switch embed.type
when 'video/mp4', 'video/webm', 'video/ogv'
$.extend el, <%= html('<video controls loop><source type="video/mp4"><source type="video/webm"></video>') %>

View File

@ -15,7 +15,7 @@ DownloadLink =
@href = URL.createObjectURL blob
@click()
else
new Notice 'error', "Could not download #{file.URL}", 30
new Notice 'error', "Could not download #{@href}", 30
Menu.menu.addEntry
el: a