Skip to content
Browse files

Fixed a Bug

  • Loading branch information...
1 parent 593898a commit f429829993cc89c64d82d4e1495b97ce2c195c5d @Pita committed May 30, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 parser.js
View
3 parser.js
@@ -47,6 +47,9 @@ exports.parseFile = function(baseFolder, filename)
docComment = docComment.replace(/\n\s*\*\s*/mg, "\n");
docComment = trimStr(docComment);
parsedObj.comment = docComment;
+
+ //cut the document away from the rest of the code
+ code = code.substr(match.index + match[0].length);
}
//get all exported functions with a regular expression

0 comments on commit f429829

Please sign in to comment.
Something went wrong with that request. Please try again.