mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
fix syntax issue
This commit is contained in:
parent
7863eb3eb9
commit
a36769ac7d
@ -198,7 +198,8 @@ exports.shorten = function(longname, forcedMemberof) {
|
||||
|
||||
// like /** @name foo.bar(2) */
|
||||
if ( /(.+)\(([^)]+)\)$/.test(name) ) {
|
||||
name = RegExp.$1, variation = RegExp.$2;
|
||||
name = RegExp.$1;
|
||||
variation = RegExp.$2;
|
||||
}
|
||||
|
||||
//// restore quoted strings back again
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user