import elementContains from '../util/element-contains';
import registry from '../global/registry';
import walkTree from '../util/walk-tree';

export default function (...args) {
  args.forEach(function (arg) {
    const isInDom = elementContains(document, arg);
    walkTree(arg, function (descendant) {
      const components = registry.find(descendant);
      const componentsLength = components.length;

      for (let a = 0; a < componentsLength; a++) {
        console.log('created', components[a].id, components[a].prototype.createdCallback);
        components[a].prototype.createdCallback.call(descendant);
      }

      for (let a = 0; a < componentsLength; a++) {
        if (isInDom) {
          console.log('attached', components[a].id, components[a].prototype.attachedCallback);
          components[a].prototype.attachedCallback.call(descendant);
        }
      }
    });
  });
}

@@ -455,99 +455,8 @@
 ) %7B%0A
-        console.log('created', components%5Ba%5D.id, components%5Ba%5D.prototype.createdCallback);%0A
     
@@ -604,103 +604,8 @@
 ) %7B%0A
-          console.log('attached', components%5Ba%5D.id, components%5Ba%5D.prototype.attachedCallback);%0A
     

Remove loggin.