packages/cf-atomic-component/src/components/AtomicComponent.js
function( attributes ) {
    let property;

    for ( property in attributes ) {
      if ( attributes.hasOwnProperty( property ) ) {
        this.element.setAttribute( property, attributes[property] );
      }
    }
  }
function( attributes ) {
    let property;

    for ( property in attributes ) {
      if ( attributes.hasOwnProperty( property ) ) {
        this.element.setAttribute( property, attributes[property] );
      }
    }
  }
function ( attributes ) { let property ; for ( property in attributes ) { if ( attributes . hasOwnProperty ( property ) ) { this . element . setAttribute ( property , attributes [ property ] ) ; } } }
Function used to set the attributes on an element.

@param {Object} attributes - Hash of attributes to set on base element.
Function used to set the attributes on an element .