Really though, what did that ever accomplish? Why did I do that?
This commit is contained in:
parent
1d56914bcb
commit
3237416133
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -61,7 +61,7 @@ Main =
|
|||||||
return
|
return
|
||||||
|
|
||||||
# c.time 'All initializations'
|
# c.time 'All initializations'
|
||||||
for [name, feature] in Main.features
|
init = (name, feature) ->
|
||||||
# c.time "#{name} initialization"
|
# c.time "#{name} initialization"
|
||||||
try
|
try
|
||||||
feature.init()
|
feature.init()
|
||||||
@ -74,6 +74,66 @@ Main =
|
|||||||
|
|
||||||
# c.timeEnd 'All initializations'
|
# c.timeEnd 'All initializations'
|
||||||
|
|
||||||
|
init 'Polyfill', Polyfill
|
||||||
|
init 'Redirect', Redirect
|
||||||
|
init 'Header', Header
|
||||||
|
init 'Catalog Links', CatalogLinks
|
||||||
|
init 'Settings', Settings
|
||||||
|
init 'Index Generator', Index
|
||||||
|
init 'Announcement Hiding', PSAHiding
|
||||||
|
init 'Fourchan thingies', Fourchan
|
||||||
|
init 'Emoji', Emoji
|
||||||
|
init 'Color User IDs', IDColor
|
||||||
|
init 'Custom CSS', CustomCSS
|
||||||
|
init 'Linkify', Linkify
|
||||||
|
init 'Reveal Spoilers', RemoveSpoilers
|
||||||
|
init 'Resurrect Quotes', Quotify
|
||||||
|
init 'Filter', Filter
|
||||||
|
init 'Reply Hiding Buttons', PostHiding
|
||||||
|
init 'Recursive', Recursive
|
||||||
|
init 'Strike-through Quotes', QuoteStrikeThrough
|
||||||
|
init 'Quick Reply', QR
|
||||||
|
init 'Menu', Menu
|
||||||
|
init 'Report Link', ReportLink
|
||||||
|
init 'Reply Hiding (Menu)', PostHiding.menu
|
||||||
|
init 'Delete Link', DeleteLink
|
||||||
|
init 'Filter (Menu)', Filter.menu
|
||||||
|
init 'Download Link', DownloadLink
|
||||||
|
init 'Archive Link', ArchiveLink
|
||||||
|
init 'Quote Inlining', QuoteInline
|
||||||
|
init 'Quote Previewing', QuotePreview
|
||||||
|
init 'Quote Backlinks', QuoteBacklink
|
||||||
|
init 'Quote Markers', QuoteMarkers
|
||||||
|
init 'Anonymize', Anonymize
|
||||||
|
init 'Time Formatting', Time
|
||||||
|
init 'Relative Post Dates', RelativeDates
|
||||||
|
init 'File Info Formatting', FileInfo
|
||||||
|
init 'Fappe Tyme', FappeTyme
|
||||||
|
init 'Gallery', Gallery
|
||||||
|
init 'Gallery (menu)', Gallery.menu
|
||||||
|
init 'Sauce', Sauce
|
||||||
|
init 'Image Expansion', ImageExpand
|
||||||
|
init 'Image Expansion (Menu)', ImageExpand.menu
|
||||||
|
init 'Reveal Spoiler Thumbnails', RevealSpoilers
|
||||||
|
init 'Image Loading', ImageLoader
|
||||||
|
init 'Image Hover', ImageHover
|
||||||
|
init 'Thread Expansion', ExpandThread
|
||||||
|
init 'Comment Expansion', ExpandComment
|
||||||
|
init 'Thread Excerpt', ThreadExcerpt
|
||||||
|
init 'Favicon', Favicon
|
||||||
|
init 'Unread', Unread
|
||||||
|
init 'Quote Threading', QuoteThreading
|
||||||
|
init 'Thread Stats', ThreadStats
|
||||||
|
init 'Thread Updater', ThreadUpdater
|
||||||
|
init 'Thread Watcher', ThreadWatcher
|
||||||
|
init 'Thread Watcher (Menu)', ThreadWatcher.menu
|
||||||
|
init 'Index Navigation', Nav
|
||||||
|
init 'Keybinds', Keybinds
|
||||||
|
init 'Show Dice Roll', Dice
|
||||||
|
init 'Banner', Banner
|
||||||
|
init 'Navigate', Navigate
|
||||||
|
init 'Flash Features', Flash
|
||||||
|
|
||||||
$.on d, 'AddCallback', Main.addCallback
|
$.on d, 'AddCallback', Main.addCallback
|
||||||
$.ready Main.initReady
|
$.ready Main.initReady
|
||||||
|
|
||||||
@ -276,66 +336,4 @@ Main =
|
|||||||
<%= grunt.file.read('src/General/css/photon.css').replace(/\s+/g, ' ').trim() %>
|
<%= grunt.file.read('src/General/css/photon.css').replace(/\s+/g, ' ').trim() %>
|
||||||
"""
|
"""
|
||||||
|
|
||||||
features: [
|
|
||||||
['Polyfill', Polyfill]
|
|
||||||
['Redirect', Redirect]
|
|
||||||
['Header', Header]
|
|
||||||
['Catalog Links', CatalogLinks]
|
|
||||||
['Settings', Settings]
|
|
||||||
['Index Generator', Index]
|
|
||||||
['Announcement Hiding', PSAHiding]
|
|
||||||
['Fourchan thingies', Fourchan]
|
|
||||||
['Emoji', Emoji]
|
|
||||||
['Color User IDs', IDColor]
|
|
||||||
['Custom CSS', CustomCSS]
|
|
||||||
['Linkify', Linkify]
|
|
||||||
['Reveal Spoilers', RemoveSpoilers]
|
|
||||||
['Resurrect Quotes', Quotify]
|
|
||||||
['Filter', Filter]
|
|
||||||
['Reply Hiding Buttons', PostHiding]
|
|
||||||
['Recursive', Recursive]
|
|
||||||
['Strike-through Quotes', QuoteStrikeThrough]
|
|
||||||
['Quick Reply', QR]
|
|
||||||
['Menu', Menu]
|
|
||||||
['Report Link', ReportLink]
|
|
||||||
['Reply Hiding (Menu)', PostHiding.menu]
|
|
||||||
['Delete Link', DeleteLink]
|
|
||||||
['Filter (Menu)', Filter.menu]
|
|
||||||
['Download Link', DownloadLink]
|
|
||||||
['Archive Link', ArchiveLink]
|
|
||||||
['Quote Inlining', QuoteInline]
|
|
||||||
['Quote Previewing', QuotePreview]
|
|
||||||
['Quote Backlinks', QuoteBacklink]
|
|
||||||
['Quote Markers', QuoteMarkers]
|
|
||||||
['Anonymize', Anonymize]
|
|
||||||
['Time Formatting', Time]
|
|
||||||
['Relative Post Dates', RelativeDates]
|
|
||||||
['File Info Formatting', FileInfo]
|
|
||||||
['Fappe Tyme', FappeTyme]
|
|
||||||
['Gallery', Gallery]
|
|
||||||
['Gallery (menu)', Gallery.menu]
|
|
||||||
['Sauce', Sauce]
|
|
||||||
['Image Expansion', ImageExpand]
|
|
||||||
['Image Expansion (Menu)', ImageExpand.menu]
|
|
||||||
['Reveal Spoiler Thumbnails', RevealSpoilers]
|
|
||||||
['Image Loading', ImageLoader]
|
|
||||||
['Image Hover', ImageHover]
|
|
||||||
['Thread Expansion', ExpandThread]
|
|
||||||
['Comment Expansion', ExpandComment]
|
|
||||||
['Thread Excerpt', ThreadExcerpt]
|
|
||||||
['Favicon', Favicon]
|
|
||||||
['Unread', Unread]
|
|
||||||
['Quote Threading', QuoteThreading]
|
|
||||||
['Thread Stats', ThreadStats]
|
|
||||||
['Thread Updater', ThreadUpdater]
|
|
||||||
['Thread Watcher', ThreadWatcher]
|
|
||||||
['Thread Watcher (Menu)', ThreadWatcher.menu]
|
|
||||||
['Index Navigation', Nav]
|
|
||||||
['Keybinds', Keybinds]
|
|
||||||
['Show Dice Roll', Dice]
|
|
||||||
['Banner', Banner]
|
|
||||||
['Navigate', Navigate]
|
|
||||||
['Flash Features', Flash]
|
|
||||||
]
|
|
||||||
|
|
||||||
Main.init()
|
Main.init()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user