             if parent is tpl.xml
                 parent._dom.push(el._dom)
             else
-                nextAnimationFrame ->
+                animation.push ->
                     parent._dom?.appendChild(el._dom)
 
     tpl.on 'close', (el) ->

        execution:'5ms'
        timeout:'100ms'
        toggle:on

    nextAnimationFrame = (callback) ->
        animation.push   (callback)
    animation.start()

    tpl.on 'add', (parent, el) ->


    tpl.on 'raw', (el, html) ->
        delay.call el, ->
            animation.push ->
                el._dom?.innerHTML = html

    tpl.on 'show', (el) ->
