 
 
 #XXX move to ns
-bufferNode = (array) ->
+createBuffer = (array) ->
   _array = array or []
+  _go = null
   buffer = (element) ->
     if element is undefined
       _array

        compileJavascript
        executeJavascript sandbox, show
      ]
      (pipe tasks) input, (error, result) ->
        if error
          go error
        else
          tasks = map (pickResults sandbox.results[guid]), render
          (iterate tasks) go

Flow.Renderers = (_, _sandbox) ->
  h1: -> Flow.HtmlTag _, 'h1'

      block = map lines, (line) -> '  ' + line

      # enclose in execute-immediate closure
      block.unshift "_h2o_results_['#{guid}'] do ->"

      # join and proceed
      go null, join block, '\n'
