js/arrangeTiles.js
// Generates the board given a size and adds event listeners
Generates the board given a size and adds event listeners
Generates the board given a size and adds event listeners
function initBoard() {
            if (!runningTests) {
                var clickEvent = "click.arrangeTiles";
                generateBoard();
                board.removeClass('hidden')
                     .height(board.width())
                     .off(clickEvent)
                     .on(clickEvent, ".tile", tileClickHandler);
            }
        }
function initBoard ( ) { if ( ! runningTests ) { var clickEvent = "click.arrangeTiles" ; generateBoard ( ) ; board . removeClass ( 'hidden' ) . height ( board . width ( ) ) . off ( clickEvent ) . on ( clickEvent , ".tile" , tileClickHandler ) ; } }
Generates the board given a size and adds event listeners
Generates the board given a size and adds event listeners