diff 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
line wrap: on
line diff
--- a/thingy.js	Mon Jan 05 17:14:14 2009 -0800
+++ b/thingy.js	Mon Jan 05 17:17:33 2009 -0800
@@ -16,7 +16,8 @@
   function maybeAppendBlock() {
     if (blockText)
       blocks.push({text: blockText,
-                   lineno: firstCommentLine});
+                   lineno: firstCommentLine,
+                   numLines: lastCommentLine - firstCommentLine + 1});
   }
 
   jQuery.each(