Skip to content

Commit cfea1a3

Browse files
committed
Fix function mismatch when header contains comments
1 parent 53bd0e1 commit cfea1a3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/FunctionDetails.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ export default class FunctionDetails {
8383
* @param source
8484
*/
8585
public static parseFunctions(source:string) : Array<FunctionDetails> {
86-
source = source.replace(/\/\/[^\n^\r]+/g, '');
8786
let result:FunctionDetails[] = [];
8887
let templateRegex = Helpers.templateRegex;
8988
let attributeRegex = "(\\[\\[[^\\]]+\\]\\])*";

0 commit comments

Comments
 (0)