Messing around with some syntax
This commit is contained in:
parent
abf3da2482
commit
9262e8a7af
2
LICENSE
2
LICENSE
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* 4chan X - Version 1.2.44 - 2013-12-25
|
* 4chan X - Version 1.2.44 - 2013-12-26
|
||||||
*
|
*
|
||||||
* Licensed under the MIT license.
|
* Licensed under the MIT license.
|
||||||
* https://github.com/seaweedchan/4chan-x/blob/master/LICENSE
|
* https://github.com/seaweedchan/4chan-x/blob/master/LICENSE
|
||||||
|
|||||||
@ -22,7 +22,7 @@
|
|||||||
// ==/UserScript==
|
// ==/UserScript==
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* 4chan X - Version 1.2.44 - 2013-12-25
|
* 4chan X - Version 1.2.44 - 2013-12-26
|
||||||
*
|
*
|
||||||
* Licensed under the MIT license.
|
* Licensed under the MIT license.
|
||||||
* https://github.com/seaweedchan/4chan-x/blob/master/LICENSE
|
* https://github.com/seaweedchan/4chan-x/blob/master/LICENSE
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
// Generated by CoffeeScript
|
// Generated by CoffeeScript
|
||||||
/*
|
/*
|
||||||
* 4chan X - Version 1.2.44 - 2013-12-25
|
* 4chan X - Version 1.2.44 - 2013-12-26
|
||||||
*
|
*
|
||||||
* Licensed under the MIT license.
|
* Licensed under the MIT license.
|
||||||
* https://github.com/seaweedchan/4chan-x/blob/master/LICENSE
|
* https://github.com/seaweedchan/4chan-x/blob/master/LICENSE
|
||||||
|
|||||||
@ -51,7 +51,15 @@ PostHiding =
|
|||||||
return false
|
return false
|
||||||
PostHiding.menu.post = post
|
PostHiding.menu.post = post
|
||||||
true
|
true
|
||||||
subEntries: [{el: apply}, {el: thisPost}, {el: replies}, {el: makeStub}]
|
subEntries: [
|
||||||
|
el: apply
|
||||||
|
,
|
||||||
|
el: thisPost
|
||||||
|
,
|
||||||
|
el: replies
|
||||||
|
,
|
||||||
|
el: makeStub
|
||||||
|
]
|
||||||
|
|
||||||
# Show
|
# Show
|
||||||
div = $.el 'div',
|
div = $.el 'div',
|
||||||
@ -85,7 +93,13 @@ PostHiding =
|
|||||||
thisPost.firstChild.checked = post.isHidden
|
thisPost.firstChild.checked = post.isHidden
|
||||||
replies.firstChild.checked = if data?.hideRecursively? then data.hideRecursively else Conf['Recursive Hiding']
|
replies.firstChild.checked = if data?.hideRecursively? then data.hideRecursively else Conf['Recursive Hiding']
|
||||||
true
|
true
|
||||||
subEntries: [{el: apply}, {el: thisPost}, {el: replies}]
|
subEntries: [
|
||||||
|
el: apply
|
||||||
|
,
|
||||||
|
el: thisPost
|
||||||
|
,
|
||||||
|
el: replies
|
||||||
|
]
|
||||||
|
|
||||||
$.event 'AddMenuEntry',
|
$.event 'AddMenuEntry',
|
||||||
type: 'post'
|
type: 'post'
|
||||||
|
|||||||
@ -68,15 +68,23 @@ Header =
|
|||||||
textContent: 'Header'
|
textContent: 'Header'
|
||||||
order: 107
|
order: 107
|
||||||
subEntries: [
|
subEntries: [
|
||||||
{el: barFixedToggler}
|
el: barFixedToggler
|
||||||
{el: headerToggler}
|
,
|
||||||
{el: scrollHeaderToggler}
|
el: headerToggler
|
||||||
{el: barPositionToggler}
|
,
|
||||||
{el: linkJustifyToggler}
|
el: scrollHeaderToggler
|
||||||
{el: footerToggler}
|
,
|
||||||
{el: shortcutToggler}
|
el: barPositionToggler
|
||||||
{el: customNavToggler}
|
,
|
||||||
{el: editCustomNav}
|
el: linkJustifyToggler
|
||||||
|
,
|
||||||
|
el: footerToggler
|
||||||
|
,
|
||||||
|
el: shortcutToggler
|
||||||
|
,
|
||||||
|
el: customNavToggler
|
||||||
|
,
|
||||||
|
el: editCustomNav
|
||||||
]
|
]
|
||||||
|
|
||||||
$.on window, 'load hashchange', Header.hashScroll
|
$.on window, 'load hashchange', Header.hashScroll
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user