code: function (tpl, option) {
              var code = compiler.compile(tpl);
              option = option || {};
              // eval is not ok for eval("(function(){})") ie
              return (Function.apply(null, []
                  .concat(code.params)
                  .concat(code.source.join('\n') + '//@ sourceURL=' +
                      (option.name ? option.name : ('xtemplate' + (xtemplateId++))) + '.js')));
          }
docs: get template function
  @param {String} tpl
  @param {Object} option
  @param {String} option.name template file name
  @return {Function}