Skip to content

Commit

Permalink
silly typo
Browse files Browse the repository at this point in the history
  • Loading branch information
sleepyfox committed Mar 13, 2012
1 parent 532a239 commit 5344328
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
@@ -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: 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:


Expand Down
3 changes: 1 addition & 2 deletions loc.coffee
Expand Up @@ -57,7 +57,7 @@ class Line
true true


hasCode: => hasCode: =>
if (@isBlank() or @isAllOneLineComment() or @isAllOneLineBlockComment()) if (@isBlank() or @isAllOneLineComment() or @isAllOneLineBlockComment()) # needed this last to catch the false, false 'transition'
0 0
else else
1 1
Expand Down Expand Up @@ -91,7 +91,6 @@ class Source
linesOfCode: -> linesOfCode: ->
lineCounter = 0 lineCounter = 0
inBlockComment = false inBlockComment = false
newInBlockComment = false


for sourceLine in @array for sourceLine in @array
line = new Line sourceLine line = new Line sourceLine
Expand Down

0 comments on commit 5344328

Please sign in to comment.