Fix FAQ link
This commit is contained in:
parent
0f36424a61
commit
ceb38964c2
@ -412,7 +412,7 @@
|
|||||||
'Bottom Board List': true,
|
'Bottom Board List': true,
|
||||||
'Custom Board Navigation': true
|
'Custom Board Navigation': true
|
||||||
},
|
},
|
||||||
boardnav: "[ toggle-all ]\na-replace\nc-replace\ng-replace\nk-replace\nv-replace\nvg-replace\nvr-replace\nck-replace\nco-replace\nfit-replace\njp-replace\nmu-replace\nsp-replace\ntv-replace\nvp-replace\n[external-text:\"FAQ\",\"\"]",
|
boardnav: "[ toggle-all ]\na-replace\nc-replace\ng-replace\nk-replace\nv-replace\nvg-replace\nvr-replace\nck-replace\nco-replace\nfit-replace\njp-replace\nmu-replace\nsp-replace\ntv-replace\nvp-replace\n[external-text:\"FAQ\",\"https://github.com/zixaphir/appchan-x/wiki/Frequently-Asked-Questions\"]",
|
||||||
QR: {
|
QR: {
|
||||||
'QR.personas': "#options:\"sage\";boards:jp;always"
|
'QR.personas': "#options:\"sage\";boards:jp;always"
|
||||||
},
|
},
|
||||||
@ -503,7 +503,7 @@
|
|||||||
VERSION: '',
|
VERSION: '',
|
||||||
NAMESPACE: 'appchan_x.',
|
NAMESPACE: 'appchan_x.',
|
||||||
NAME: 'appchan x',
|
NAME: 'appchan x',
|
||||||
FAQ: '',
|
FAQ: 'https://github.com/zixaphir/appchan-x/wiki/Frequently-Asked-Questions',
|
||||||
CHANGELOG: 'https://github.com/zixaphir/appchan-x/blob/master/CHANGELOG.md',
|
CHANGELOG: 'https://github.com/zixaphir/appchan-x/blob/master/CHANGELOG.md',
|
||||||
boards: {}
|
boards: {}
|
||||||
};
|
};
|
||||||
@ -4562,7 +4562,7 @@
|
|||||||
}
|
}
|
||||||
boardnav = boardnav.replace(/(\r\n|\n|\r)/g, ' ');
|
boardnav = boardnav.replace(/(\r\n|\n|\r)/g, ' ');
|
||||||
as = $$('#full-board-list a[title]', Header.boardList);
|
as = $$('#full-board-list a[title]', Header.boardList);
|
||||||
re = /[\w@]+(-(all|title|replace|full|archive|(mode|sort|text|url):"[^"]+"(\,"[^"]+[^"]")?))*|[^\w@]+/g;
|
re = /[\w@]+(-(all|title|replace|full|index|catalog|archive|expired|(mode|sort|text|url):"[^"]+"(,"[^"]+")?))*|[^\w@]+/g;
|
||||||
nodes = (function() {
|
nodes = (function() {
|
||||||
var _i, _len, _ref, _results;
|
var _i, _len, _ref, _results;
|
||||||
_ref = boardnav.match(re);
|
_ref = boardnav.match(re);
|
||||||
@ -4581,7 +4581,8 @@
|
|||||||
if (/^[^\w@]/.test(t)) {
|
if (/^[^\w@]/.test(t)) {
|
||||||
return $.tn(t);
|
return $.tn(t);
|
||||||
}
|
}
|
||||||
text = url = null;
|
text = '';
|
||||||
|
url = '';
|
||||||
t = t.replace(/-text:"([^"]+)"(?:,"([^"]+)")?/g, function(m0, m1, m2) {
|
t = t.replace(/-text:"([^"]+)"(?:,"([^"]+)")?/g, function(m0, m1, m2) {
|
||||||
text = m1;
|
text = m1;
|
||||||
url = m2;
|
url = m2;
|
||||||
|
|||||||
@ -384,7 +384,7 @@
|
|||||||
'Bottom Board List': true,
|
'Bottom Board List': true,
|
||||||
'Custom Board Navigation': true
|
'Custom Board Navigation': true
|
||||||
},
|
},
|
||||||
boardnav: "[ toggle-all ]\na-replace\nc-replace\ng-replace\nk-replace\nv-replace\nvg-replace\nvr-replace\nck-replace\nco-replace\nfit-replace\njp-replace\nmu-replace\nsp-replace\ntv-replace\nvp-replace\n[external-text:\"FAQ\",\"\"]",
|
boardnav: "[ toggle-all ]\na-replace\nc-replace\ng-replace\nk-replace\nv-replace\nvg-replace\nvr-replace\nck-replace\nco-replace\nfit-replace\njp-replace\nmu-replace\nsp-replace\ntv-replace\nvp-replace\n[external-text:\"FAQ\",\"https://github.com/zixaphir/appchan-x/wiki/Frequently-Asked-Questions\"]",
|
||||||
QR: {
|
QR: {
|
||||||
'QR.personas': "#options:\"sage\";boards:jp;always"
|
'QR.personas': "#options:\"sage\";boards:jp;always"
|
||||||
},
|
},
|
||||||
@ -475,7 +475,7 @@
|
|||||||
VERSION: '',
|
VERSION: '',
|
||||||
NAMESPACE: 'appchan_x.',
|
NAMESPACE: 'appchan_x.',
|
||||||
NAME: 'appchan x',
|
NAME: 'appchan x',
|
||||||
FAQ: '',
|
FAQ: 'https://github.com/zixaphir/appchan-x/wiki/Frequently-Asked-Questions',
|
||||||
CHANGELOG: 'https://github.com/zixaphir/appchan-x/blob/master/CHANGELOG.md',
|
CHANGELOG: 'https://github.com/zixaphir/appchan-x/blob/master/CHANGELOG.md',
|
||||||
boards: {}
|
boards: {}
|
||||||
};
|
};
|
||||||
@ -4580,7 +4580,7 @@
|
|||||||
}
|
}
|
||||||
boardnav = boardnav.replace(/(\r\n|\n|\r)/g, ' ');
|
boardnav = boardnav.replace(/(\r\n|\n|\r)/g, ' ');
|
||||||
as = $$('#full-board-list a[title]', Header.boardList);
|
as = $$('#full-board-list a[title]', Header.boardList);
|
||||||
re = /[\w@]+(-(all|title|replace|full|archive|(mode|sort|text|url):"[^"]+"(\,"[^"]+[^"]")?))*|[^\w@]+/g;
|
re = /[\w@]+(-(all|title|replace|full|index|catalog|archive|expired|(mode|sort|text|url):"[^"]+"(,"[^"]+")?))*|[^\w@]+/g;
|
||||||
nodes = (function() {
|
nodes = (function() {
|
||||||
var _i, _len, _ref, _results;
|
var _i, _len, _ref, _results;
|
||||||
_ref = boardnav.match(re);
|
_ref = boardnav.match(re);
|
||||||
@ -4599,7 +4599,8 @@
|
|||||||
if (/^[^\w@]/.test(t)) {
|
if (/^[^\w@]/.test(t)) {
|
||||||
return $.tn(t);
|
return $.tn(t);
|
||||||
}
|
}
|
||||||
text = url = null;
|
text = '';
|
||||||
|
url = '';
|
||||||
t = t.replace(/-text:"([^"]+)"(?:,"([^"]+)")?/g, function(m0, m1, m2) {
|
t = t.replace(/-text:"([^"]+)"(?:,"([^"]+)")?/g, function(m0, m1, m2) {
|
||||||
text = m1;
|
text = m1;
|
||||||
url = m2;
|
url = m2;
|
||||||
|
|||||||
@ -7,6 +7,7 @@
|
|||||||
"namespace": "zixaphir",
|
"namespace": "zixaphir",
|
||||||
"repo": "https://github.com/zixaphir/appchan-x/",
|
"repo": "https://github.com/zixaphir/appchan-x/",
|
||||||
"page": "http://zixaphir.github.com/appchan-x/",
|
"page": "http://zixaphir.github.com/appchan-x/",
|
||||||
|
"faq": "https://github.com/zixaphir/appchan-x/wiki/Frequently-Asked-Questions",
|
||||||
"recaptchaKey": "6Ldp2bsSAAAAAAJ5uyx_lx34lJeEpTLVkP5k04qc",
|
"recaptchaKey": "6Ldp2bsSAAAAAAJ5uyx_lx34lJeEpTLVkP5k04qc",
|
||||||
"youtubeAPIKey": "AIzaSyCrvwsT3ub8sDl3S5APhok2eY-OzRcCK5U",
|
"youtubeAPIKey": "AIzaSyCrvwsT3ub8sDl3S5APhok2eY-OzRcCK5U",
|
||||||
"buildsPath": "builds/",
|
"buildsPath": "builds/",
|
||||||
|
|||||||
@ -159,7 +159,7 @@ Header =
|
|||||||
return unless boardnav
|
return unless boardnav
|
||||||
boardnav = boardnav.replace /(\r\n|\n|\r)/g, ' '
|
boardnav = boardnav.replace /(\r\n|\n|\r)/g, ' '
|
||||||
as = $$ '#full-board-list a[title]', Header.boardList
|
as = $$ '#full-board-list a[title]', Header.boardList
|
||||||
re = /[\w@]+(-(all|title|replace|full|archive|(mode|sort|text|url):"[^"]+"(\,"[^"]+[^"]")?))*|[^\w@]+/g
|
re = /[\w@]+(-(all|title|replace|full|index|catalog|archive|expired|(mode|sort|text|url):"[^"]+"(,"[^"]+")?))*|[^\w@]+/g
|
||||||
nodes = (Header.mapCustomNavigation t, as for t in boardnav.match re)
|
nodes = (Header.mapCustomNavigation t, as for t in boardnav.match re)
|
||||||
$.add list, nodes
|
$.add list, nodes
|
||||||
$.ready CatalogLinks.initBoardList
|
$.ready CatalogLinks.initBoardList
|
||||||
@ -168,10 +168,11 @@ Header =
|
|||||||
if /^[^\w@]/.test t
|
if /^[^\w@]/.test t
|
||||||
return $.tn t
|
return $.tn t
|
||||||
|
|
||||||
text = url = null
|
text = ''
|
||||||
|
url = ''
|
||||||
t = t.replace /-text:"([^"]+)"(?:,"([^"]+)")?/g, (m0, m1, m2) ->
|
t = t.replace /-text:"([^"]+)"(?:,"([^"]+)")?/g, (m0, m1, m2) ->
|
||||||
text = m1
|
text = m1
|
||||||
url = m2
|
url = m2
|
||||||
''
|
''
|
||||||
|
|
||||||
if /^toggle-all/.test t
|
if /^toggle-all/.test t
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user