From fcbafddaedbae203e01348f67958f04dab8c38c3 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Thu, 26 Oct 2023 13:23:20 +0300 Subject: [PATCH] Update build-apidoc.js --- api-generator/build-apidoc.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/api-generator/build-apidoc.js b/api-generator/build-apidoc.js index 46df64a5e..00d5490d4 100644 --- a/api-generator/build-apidoc.js +++ b/api-generator/build-apidoc.js @@ -358,10 +358,6 @@ if (project) { .map((s) => { if (s.text.indexOf('[here]') > -1) { return `${s.text.slice(0, s.text.indexOf('[here]'))} here ${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]'))} MDN Reference ${s.text.slice( - s.text.indexOf(')') + 1 - )}`; } return s.text || '';