Update build-apidoc.js

pull/4704/head
tugcekucukoglu 2023-10-26 13:23:20 +03:00
parent e93d053bbb
commit fcbafddaed
1 changed files with 0 additions and 4 deletions

View File

@ -358,10 +358,6 @@ if (project) {
.map((s) => {
if (s.text.indexOf('[here]') > -1) {
return `${s.text.slice(0, s.text.indexOf('[here]'))} <a target="_blank" href="${s.text.slice(s.text.indexOf('(') + 1, s.text.indexOf(')'))}">here</a> ${s.text.slice(s.text.indexOf(')') + 1)}`;
} else if (s.text.indexOf('[MDN Reference]') > -1) {
return `${s.text.slice(0, s.text.indexOf('[MDN Reference]'))} <a target="_blank" href="${s.text.slice(s.text.indexOf('(') + 1, s.text.indexOf(')'))}">MDN Reference</a> ${s.text.slice(
s.text.indexOf(')') + 1
)}`;
}
return s.text || '';