<commit_before>(function(globals){ // What is this even? Do I need it?
  /**
   * Your pattern for Controller code:
   *
   * 1. What `TYPE` of interaction am I interested in?
   * 2. What `SELECTOR` will get the element involved in the interaction?
   * 3. What `CALLBACK` should be run when the interaction happens?
   * 4. What should my `CALLBACK` do with it's `EVENT`...?
   */
  // document.querySelector(SELECTOR)
  //   .addEventListener(TYPE, CALLBACK);
  // // AKA
  // jQuery(SELECTOR).on(TYPE, CALLBACK);
  // // Where CALLBACK is...
  // function CALLBACK (EVENT){
  //   // Do something with Models and Views...
  //   // Maybe do something with EVENT...?
  // }
  // Controller for "next move"...
  update.view();// display the intial state of the board

  $("#next").on('click', function(){
    console.log("clicked next move button");
    game.next();
    console.log(game.tracer());
    update.view();
  });

  // Controller for "previous move"...
  $("#back").on('click', function(){
    console.log("clicked on the prev move button");
    game.prev();
    console.log(game.tracer());
    update.view();
  });

  // Controller for "fast-forward"...
  $("#end").on('click', function(){
    console.log("clicked on the last move button");
    game.end();
    console.log(game.tracer());
    update.view();
  });

  // Controller for "rewind"...
  $("#reset").on('click', function(){
    console.log("clicked on the reset button");
    game.reset();
    console.log(game.tracer());
    update.view();
  });

  //controller for "play/pause"
  $("#play").on('click', function(){
    console.log("clicked on the play/pause button");
    // game.play(); //TODO: add the play/pause feature
    game.end();
    console.log(game.tracer());
    update.view();
  });


// Am I supposed to recognize this?
})(window || module && module.exports || this)<commit_msg>removed tracers. still need to work on play/pause<commit_after>(function(globals){ // What is this even? Do I need it?
  /**
   * Your pattern for Controller code:
   *
   * 1. What `TYPE` of interaction am I interested in?
   * 2. What `SELECTOR` will get the element involved in the interaction?
   * 3. What `CALLBACK` should be run when the interaction happens?
   * 4. What should my `CALLBACK` do with it's `EVENT`...?
   */
  // document.querySelector(SELECTOR)
  //   .addEventListener(TYPE, CALLBACK);
  // // AKA
  // jQuery(SELECTOR).on(TYPE, CALLBACK);
  // // Where CALLBACK is...
  // function CALLBACK (EVENT){
  //   // Do something with Models and Views...
  //   // Maybe do something with EVENT...?
  // }
  // Controller for "next move"...
  update.view();// display the intial state of the board

  $("#next").on('click', function(){
    // console.log("clicked next move button");
    game.next();
    // console.log(game.tracer());
    update.view();
  });

  // Controller for "previous move"...
  $("#back").on('click', function(){
    // console.log("clicked on the prev move button");
    game.prev();
    // console.log(game.tracer());
    update.view();
  });

  // Controller for "fast-forward"...
  $("#end").on('click', function(){
    // console.log("clicked on the last move button");
    game.end();
    // console.log(game.tracer());
    update.view();
  });

  // Controller for "rewind"...
  $("#reset").on('click', function(){
    // console.log("clicked on the reset button");
    game.reset();
    // console.log(game.tracer());
    update.view();
  });

  //controller for "play/pause"
  $("#play").on('click', function(){
    // console.log("clicked on the play/pause button");
    // game.play(); //TODO: add the play/pause feature
    game.end();
    // console.log(game.tracer());
    update.view();
  });


// Am I supposed to recognize this?
})(window || module && module.exports || this)
{'fraction_non_alphanumeric': 0.19232790331056226, 'fraction_numerical': 0.0021019442984760903, 'mean_word_length': 2.7323529411764707, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4767637', 'n_tokens_mistral': 1187, 'n_tokens_neox': 1151, 'n_words': 342}