function initializeExpandables() {
    // Initialize the Expandable.
    var expandablesDom = document.querySelectorAll( '.o-expandable' );
    var expandable;
    for ( var i = 0, len = expandablesDom.length; i < len; i++ ) {
      expandable = new Expandable( expandablesDom[i] );
      // Ensure Expandable isn't coming from cloned DOM nodes.
      expandable.destroy();
      expandable.addEventListener( 'expandEnd',
        BS.eventListeners.heightChange );
      expandable.addEventListener( 'collapseEnd',
        BS.eventListeners.heightChange );
      expandable.init();
      BS.expandables.push( expandable );
    }
  }
/**
   * Initialize the expandables and the expand / collapse event listeners.
   */
Initialize the expandables and the expand / collapse event listeners.
Initialize the expandables and the expand / collapse event listeners .
function initializeExpandables() {
    var expandablesDom = document.querySelectorAll( '.o-expandable' );
    var expandable;
    for ( var i = 0, len = expandablesDom.length; i < len; i++ ) {
      expandable = new Expandable( expandablesDom[i] );
      expandable.destroy();
      expandable.addEventListener( 'expandEnd',
        BS.eventListeners.heightChange );
      expandable.addEventListener( 'collapseEnd',
        BS.eventListeners.heightChange );
      expandable.init();
      BS.expandables.push( expandable );
    }
  }
function initializeExpandables ( ) { var expandablesDom = document . querySelectorAll ( '.o-expandable' ) ; var expandable ; for ( var i = 0 , len = expandablesDom . length ; i < len ; i ++ ) { expandable = new Expandable ( expandablesDom [ i ] ) ; expandable . destroy ( ) ; expandable . addEventListener ( 'expandEnd' , BS . eventListeners . heightChange ) ; expandable . addEventListener ( 'collapseEnd' , BS . eventListeners . heightChange ) ; expandable . init ( ) ; BS . expandables . push ( expandable ) ; } }
Initialize the expandables and the expand / collapse event listeners.
Initialize the expandables and the expand / collapse event listeners .
// Initialize the Expandable. // Ensure Expandable isn't coming from cloned DOM nodes.