Permalink
Browse files

silly typo

  • Loading branch information...
1 parent 532a239 commit 5344328d976410229f00b4e51c4b389e47716614 @sleepyfox committed Mar 13, 2012
Showing with 2 additions and 3 deletions.
  1. +1 −1 README.md
  2. +1 −2 loc.coffee
View
@@ -1,4 +1,4 @@
-Code Dojo 3
+Code Dojo 4
===========
This is my worked examples from the 4th meeting of the London Code Dojo. Feel free to play around with them. You can run the code (assuming you have node and coffeescript installed) with:
View
@@ -57,7 +57,7 @@ class Line
true
hasCode: =>
- if (@isBlank() or @isAllOneLineComment() or @isAllOneLineBlockComment())
+ if (@isBlank() or @isAllOneLineComment() or @isAllOneLineBlockComment()) # needed this last to catch the false, false 'transition'
0
else
1
@@ -91,7 +91,6 @@ class Source
linesOfCode: ->
lineCounter = 0
inBlockComment = false
- newInBlockComment = false
for sourceLine in @array
line = new Line sourceLine

0 comments on commit 5344328

Please sign in to comment.