Skip to content

Commit

Permalink
Fix Uncaught ReferenceError: cnt is not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
Hans Kristian Flaatten committed Sep 23, 2014
1 parent 6d802ff commit 40f7c47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ JFUM.prototype.postHandler = (req, res, next) ->

_cnt = 0
done = (err) ->
return next err if ++cnt is 1
return next err if ++_cnt is 1

new Form()

Expand Down

0 comments on commit 40f7c47

Please sign in to comment.