Replace join('\n') with triple quotes.

This commit is contained in:
Mayhem 2013-05-08 21:34:10 +02:00
parent 2211f0160b
commit 17b4a6a2f9

View File

@ -78,67 +78,59 @@ Config =
'Expand spoilers': [false, 'Expand all images along with spoilers.']
'Expand from here': [true, 'Expand all images only from current position to thread end.']
filter:
name: [
'# Filter any namefags:'
'#/^(?!Anonymous$)/'
].join '\n'
uniqueID: [
'# Filter a specific ID:'
'#/Txhvk1Tl/'
].join '\n'
tripcode: [
'# Filter any tripfag'
'#/^!/'
].join '\n'
capcode: [
'# Set a custom class for mods:'
'#/Mod$/;highlight:mod;op:yes'
'# Set a custom class for moot:'
'#/Admin$/;highlight:moot;op:yes'
].join '\n'
email: [
'# Filter any e-mails that are not `sage` on /a/ and /jp/:'
'#/^(?!sage$)/;boards:a,jp'
].join '\n'
subject: [
'# Filter Generals on /v/:'
'#/general/i;boards:v;op:only'
].join '\n'
comment: [
'# Filter Stallman copypasta on /g/:'
'#/what you\'re refer+ing to as linux/i;boards:g'
].join '\n'
flag: [
''
].join '\n'
filename: [
''
].join '\n'
dimensions: [
'# Highlight potential wallpapers:'
'#/1920x1080/;op:yes;highlight;top:no;boards:w,wg'
].join '\n'
filesize: [
''
].join '\n'
MD5: [
''
].join '\n'
sauces: [
'https://www.google.com/searchbyimage?image_url=%TURL'
'http://iqdb.org/?url=%TURL'
'#//tineye.com/search?url=%TURL'
'#http://saucenao.com/search.php?url=%TURL'
'#http://3d.iqdb.org/?url=%TURL'
'#http://regex.info/exif.cgi?imgurl=%URL'
'# uploaders:'
'#http://imgur.com/upload?url=%URL;text:Upload to imgur'
'#http://ompldr.org/upload?url1=%URL;text:Upload to ompldr'
'# "View Same" in archives:'
'#//archive.foolz.us/_/search/image/%MD5/;text:View same on foolz'
'#//archive.foolz.us/%board/search/image/%MD5/;text:View same on foolz /%board/'
'#//archive.installgentoo.net/%board/image/%MD5;text:View same on installgentoo /%board/'
].join '\n'
name: """
# Filter any namefags:
#/^(?!Anonymous$)/
"""
uniqueID: """
# Filter a specific ID:
#/Txhvk1Tl/
"""
tripcode: """
# Filter any tripfag
#/^!/
"""
capcode: """
# Set a custom class for mods:
#/Mod$/;highlight:mod;op:yes
# Set a custom class for moot:
#/Admin$/;highlight:moot;op:yes
"""
email: """
# Filter any e-mails that are not `sage` on /a/ and /jp/:
#/^(?!sage$)/;boards:a,jp
"""
subject: """
# Filter Generals on /v/:
#/general/i;boards:v;op:only
"""
comment: """
# Filter Stallman copypasta on /g/:
#/what you're refer+ing to as linux/i;boards:g
"""
flag: ""
filename: ""
dimensions: """
# Highlight potential wallpapers:
#/1920x1080/;op:yes;highlight;top:no;boards:w,wg
"""
filesize: ""
MD5: ""
sauces: """
https://www.google.com/searchbyimage?image_url=%TURL
http://iqdb.org/?url=%TURL
#//tineye.com/search?url=%TURL
#http://saucenao.com/search.php?url=%TURL
#http://3d.iqdb.org/?url=%TURL
#http://regex.info/exif.cgi?imgurl=%URL
# uploaders:
#http://imgur.com/upload?url=%URL;text:Upload to imgur
#http://ompldr.org/upload?url1=%URL;text:Upload to ompldr
# "View Same" in archives:
#//archive.foolz.us/_/search/image/%MD5/;text:View same on foolz
#//archive.foolz.us/%board/search/image/%MD5/;text:View same on foolz /%board/
#//archive.installgentoo.net/%board/image/%MD5;text:View same on installgentoo /%board/
"""
'Custom CSS': false
Header:
'Header auto-hide': false
@ -148,10 +140,10 @@ Config =
'Bottom Board List': false
'Custom Board Navigation': true
QR:
'QR.personas': [
'#email:"sage";boards:jp;always'
'email:"sage"'
].join '\n'
'QR.personas': """
#email:"sage";boards:jp;always
email:"sage"
"""
boardnav: '[current-title / toggle-all]'
time: '%m/%d/%y(%a)%H:%M:%S'
backlink: '>>%id'