         itemsKeys = []
         code = 'var _c = {};'
         if elem.type is 'code'
-            bootstrap += elem.body
+            bootstrap += transformByBabel elem.body
             continue
         if typeof stringify[elem.type] isnt 'function'
             console.error "Unexpected block type '#{elem.type}'"

'use strict'

try
    babel = require 'babel-core'
bundle = require './bundle'
parser = require './parser'
bindingParser = require 'src/binding/parser'

    function: (elem) ->
        # arguments
        args = ''
        if args and String(elem.params)
            args += ","
        args += String(elem.params)

        # body
        body = transformByBabel elem.body
        "function(#{args}){#{body}}"
    object: (elem) ->
        json = {}
