Skip to content

Commit

Permalink
Merge pull request #12071 from hasezoey/removeDocsPrototype
Browse files Browse the repository at this point in the history
Documentation-Generation remove `.prototype.` fix-up code
  • Loading branch information
vkarpov15 committed Jul 8, 2022
2 parents 318f85b + 93317db commit cfdb1d8
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions docs/source/api.js
Expand Up @@ -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}`;
Expand Down

0 comments on commit cfdb1d8

Please sign in to comment.