Skip to content

Commit 93317db

Browse files
committed
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
1 parent 3445d24 commit 93317db

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

docs/source/api.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -234,11 +234,6 @@ function parse() {
234234
ctx.string = ctx.string + "()";
235235
}
236236

237-
// fixing up "something.prototypemissingdot" to "something.prototype.missingdot"
238-
if (/\.prototype[^.]/.test(ctx.string)) {
239-
ctx.string = `${ctx.constructor}.prototype.${ctx.name}`;
240-
}
241-
242237
// Backwards compat anchors
243238
if (typeof ctx.constructor === 'string') {
244239
ctx.anchorId = `${ctx.constructor.toLowerCase()}_${ctx.constructor}-${ctx.name}`;

0 commit comments

Comments
 (0)