Permalink
Browse files

changed example to handle arrays instead of strings

  • Loading branch information...
1 parent 5c95c28 commit 32dd7859e2d0135b7158ce6ee9e81a7022cb9554 @niclashoyer committed Dec 9, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 examples/zeros.coffee
View
4 examples/zeros.coffee
@@ -21,10 +21,10 @@ delta =
t = new Turer ['0'], ['0'], '>', '˽', ['q0','q1'], 'q0', delta
t.on 'input', (word) ->
- console.log "INPUT: "+word
+ console.log "INPUT: "+word.join ''
t.on 'output', (word) ->
- console.log "OUTPUT: "+word
+ console.log "OUTPUT: "+word.join ''
t.on 'write', (symbol) ->
console.log "WRITE: "+symbol

0 comments on commit 32dd785

Please sign in to comment.