From 93317db0d0f2651afa51eabd65681d4c02c75e59 Mon Sep 17 00:00:00 2001 From: hasezoey Date: Fri, 8 Jul 2022 12:25:16 +0200 Subject: [PATCH] chore(docs/source/api): remove "prototype" fix-up This should no longer be required, because ".prototype." is now set in one place only so if a error occurs, it should be easy to find and fix --- docs/source/api.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/docs/source/api.js b/docs/source/api.js index 2062ac68c1e..3b8e16dd5b0 100644 --- a/docs/source/api.js +++ b/docs/source/api.js @@ -234,11 +234,6 @@ function parse() { ctx.string = ctx.string + "()"; } - // fixing up "something.prototypemissingdot" to "something.prototype.missingdot" - if (/\.prototype[^.]/.test(ctx.string)) { - ctx.string = `${ctx.constructor}.prototype.${ctx.name}`; - } - // Backwards compat anchors if (typeof ctx.constructor === 'string') { ctx.anchorId = `${ctx.constructor.toLowerCase()}_${ctx.constructor}-${ctx.name}`;