var through = require('through2')

module.exports = function pumicle (opts, $) {
  $.on('data', function (d) {
  })

  var s = through.obj(function (data, enc, next) {
    next()
  })

  setTimeout(function () {
    var d = {x:90}
    $.write(d)
  },1)

  return {s:s, $:$}
}

@@ -31,54 +31,245 @@
 2')%0A
-%0Amodule.exports = function pumicle (opts, $) %7B
+var D = require('../../../lib/dombii.js')%0Avar PUMICLE = require('fs').readFileSync(__dirname+'/p.hogan','utf8')%0A%0Amodule.exports = function pumicle (opts, $) %7B%0A  var pum = new D(%7Btemplate : PUMICLE, parent : document.body, id : opts.id%7D)%0A
 %0A  $
@@ -294,18 +294,28 @@
 on (d) %7B
-%0A
  
+pum.draw(d)
  %7D)%0A%0A  v
@@ -385,72 +385,82 @@
 %0A%0A  
-setTimeout(function () %7B%0A    var d = %7Bx:90%7D%0A    $.write(d
+pum.draw(%7Btxt : 'fzf', src : '/files/ban.png'%7D
 )%0A
+%0A
   
-%7D,1
+s.on('close', pum.erase
 )%0A%0A 

update pumicle