Skip to content

Commit

Permalink
rename slash to char in formatForwardSlashAndSpace()
Browse files Browse the repository at this point in the history
  • Loading branch information
tyrantkhan committed Aug 13, 2014
1 parent 5ef7400 commit 2f6665e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions lib/jquery.payment.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/jquery.payment.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,8 @@ formatForwardExpiry = (e) ->
$target.val("#{val} / ")

formatForwardSlashAndSpace = (e) ->
slash = String.fromCharCode(e.which)
return unless slash is '/' or slash is ' '
char = String.fromCharCode(e.which)
return unless char is '/' or char is ' '

$target = $(e.currentTarget)
val = $target.val()
Expand Down

0 comments on commit 2f6665e

Please sign in to comment.