Skip to content

Commit

Permalink
skip character if matrix not found and few more special chars added
Browse files Browse the repository at this point in the history
  • Loading branch information
chinchang committed May 27, 2012
1 parent f932447 commit e5c0211
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion isoblocks.coffee
Expand Up @@ -134,8 +134,12 @@ class IsoBlocks
else if ch is '-' then ch = 'dash'
else if ch is ';' then ch = 'semicolon'
else if ch is ':' then ch = 'colon'
else if ch is '/' then ch = 'f_slash'
else if ch is '[' then ch = 'l_square_bracket'
else if ch is ']' then ch = 'r_square_bracket'

current_ch = Characters[ch]
# Skip if character matrix not found
if not current_ch = Characters[ch] then return 0
for arr, i in current_ch
for val, j in arr
if val
Expand Down

0 comments on commit e5c0211

Please sign in to comment.