Mercurial > doc-thingy
comparison thingy.js @ 6:dc88b0e46f2d
We now record number of lines of comment blocks.
author | Atul Varma <varmaa@toolness.com> |
---|---|
date | Mon, 05 Jan 2009 17:17:33 -0800 |
parents | dcae71b1c3b4 |
children | 0d5b69cd01db |
comparison
equal
deleted
inserted
replaced
5:dcae71b1c3b4 | 6:dc88b0e46f2d |
---|---|
14 var lastCommentLine; | 14 var lastCommentLine; |
15 | 15 |
16 function maybeAppendBlock() { | 16 function maybeAppendBlock() { |
17 if (blockText) | 17 if (blockText) |
18 blocks.push({text: blockText, | 18 blocks.push({text: blockText, |
19 lineno: firstCommentLine}); | 19 lineno: firstCommentLine, |
20 numLines: lastCommentLine - firstCommentLine + 1}); | |
20 } | 21 } |
21 | 22 |
22 jQuery.each( | 23 jQuery.each( |
23 lines, | 24 lines, |
24 function(lineNum) { | 25 function(lineNum) { |