src/lib/demo.js
function() {
    // Add other event listeners.
    addEvent(cellsContainer, 'click', updateNotice);
    addEvent(window, 'resize', delayedResize);
    addEvent(window, 'scroll', delayedScroll);

    // Initialize array of column heights and container width.
    columnCount = getColumnCount();
    resetHeights(columnCount);

    // Load cells for the first time.
    manageCells();
  }
function() {
    // Add other event listeners.
    addEvent(cellsContainer, 'click', updateNotice);
    addEvent(window, 'resize', delayedResize);
    addEvent(window, 'scroll', delayedScroll);

    // Initialize array of column heights and container width.
    columnCount = getColumnCount();
    resetHeights(columnCount);

    // Load cells for the first time.
    manageCells();
  }
function ( ) { // Add other event listeners. addEvent ( cellsContainer , 'click' , updateNotice ) ; addEvent ( window , 'resize' , delayedResize ) ; addEvent ( window , 'scroll' , delayedScroll ) ; // Initialize array of column heights and container width. columnCount = getColumnCount ( ) ; resetHeights ( columnCount ) ; // Load cells for the first time. manageCells ( ) ; }
Initialize the layout.
Initialize the layout .