initComponentDependencies(name) {
    var self = this;
    var component = _component_js__WEBPACK_IMPORTED_MODULE_1__.components[name];
    var dependencies;
    var i;

    // Not a component.
    if (!component) {
      return;
    }

    // No dependencies.
    dependencies = _component_js__WEBPACK_IMPORTED_MODULE_1__.components[name].dependencies;
    if (!dependencies) {
      return;
    }

    // Initialize dependencies.
    for (i = 0; i < dependencies.length; i++) {
      // Call getAttribute to initialize the data from the DOM.
      self.initComponent(dependencies[i], window.HTMLElement.prototype.getAttribute.call(self, dependencies[i]) || undefined, true);
    }
  }
Initialize dependencies of a component.

@param {string} name - Root component name.