Skip to content

Commit

Permalink
Easier bang reading
Browse files Browse the repository at this point in the history
  • Loading branch information
bergie committed Oct 23, 2017
1 parent 9b83e7c commit b6d1606
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions components/SendNext.coffee
Expand Up @@ -18,8 +18,7 @@ exports.getComponent = ->
c.forwardBrackets = {}
c.process (input, output) ->
return unless input.hasData 'in'
bang = input.get 'in'
return unless bang.type is 'data'
bang = input.getData 'in'

unless input.hasData 'data'
# No data packets in the buffer, send "empty"
Expand Down

0 comments on commit b6d1606

Please sign in to comment.