Skip to content

Commit 1340835

Browse files
committed
Added support nested prototype objects.
1 parent 1459be8 commit 1340835

File tree

1 file changed

+1
-1
lines changed
  • packages/doxdox-parser-custom/src

1 file changed

+1
-1
lines changed

packages/doxdox-parser-custom/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const IDENTIFIER_PATTERNS = [
1919
/^(?:this|exports)\.([a-z0-9_]+)\s*=/i,
2020
/^(?:export\s+)?function\s+([a-z0-9_]+)\s*\(/i,
2121
/^class\s+([a-z0-9_]+)\s*{/i,
22-
/^((?:[a-z0-9_]+)(\.prototype)?\.(?:[a-z0-9_]+))/i,
22+
/^((?:[a-z0-9_.]+)(\.prototype)?\.(?:[a-z0-9_]+))/i,
2323
/^[a-z0-9_]+\s*as\s*([a-z0-9_]+)/i
2424
];
2525

0 commit comments

Comments
 (0)