function _setChildElements( elements ) {
  var elementName;
  var hasOwnProperty = Object.hasOwnProperty.bind( _this.childElements );
  var querySelector = _this.baseElement.querySelector
    .bind( _this.baseElement );

  for ( elementName in elements ) {
    if ( hasOwnProperty( elementName ) ) {
      elements[elementName] = querySelector( elements[elementName] );
    }
  }

  return elements;
}
/**
* Function used to set cached child elements.
* @param {object} elements - object with child element names.
* @returns {HTMLNode} An array of dom elements.
*/
Function used to set cached child elements.
Function used to set cached child elements .
function _setChildElements( elements ) {
  var elementName;
  var hasOwnProperty = Object.hasOwnProperty.bind( _this.childElements );
  var querySelector = _this.baseElement.querySelector
    .bind( _this.baseElement );
  for ( elementName in elements ) {
    if ( hasOwnProperty( elementName ) ) {
      elements[elementName] = querySelector( elements[elementName] );
    }
  }
  return elements;
}
function _setChildElements ( elements ) { var elementName ; var hasOwnProperty = Object . hasOwnProperty . bind ( _this . childElements ) ; var querySelector = _this . baseElement . querySelector . bind ( _this . baseElement ) ; for ( elementName in elements ) { if ( hasOwnProperty ( elementName ) ) { elements [ elementName ] = querySelector ( elements [ elementName ] ) ; } } return elements ; }
Function used to set cached child elements.
Function used to set cached child elements .