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}`;