whole_func_string: function initJsProcessor(opts, defaultBabelProcessorName) {
      let plugins = (opts && opts.plugins) || [adapterPlugin];
      registerProcessor({
          name: (opts && opts.processor) || defaultBabelProcessorName, // override existed processor
          hook: {
              before(file, options) {
                  if (file.isAntCompScript && !adapterPlugin.isAdapterModule(file.path)) {
                      options.plugins || (options.plugins = []);
                      options.plugins.push.apply(options.plugins, plugins);
                  }
              }
          }
      });
  }
func_code_string: function initJsProcessor(opts, defaultBabelProcessorName) {
      let plugins = (opts && opts.plugins) || [adapterPlugin];
      registerProcessor({
          name: (opts && opts.processor) || defaultBabelProcessorName, // override existed processor
          hook: {
              before(file, options) {
                  if (file.isAntCompScript && !adapterPlugin.isAdapterModule(file.path)) {
                      options.plugins || (options.plugins = []);
                      options.plugins.push.apply(options.plugins, plugins);
                  }
              }
          }
      });
  }
func_documentation_string: Initialize native component js processor
  
  @inner
  @param {Object=} opts the options to init
  @param {string=} opts.processor the builtin processor name, by default `babel`
  @param {Array=} opts.plugins the processor plugins
  @param {string} defaultBabelProcessorName default babel processor name