<commit_before>(function(context){
  "use strict";

  document.addEventListener('DOMContentLoaded', function(){

    context.elevators = [].slice.call(document.querySelectorAll('.shaft .elevator')).map(function(el, id){
      var e = new Elevator({
	el: el,
	id: id
      });

      e.on('moving', function(event){
	context.onElevatorRequest(e, context.elevators)
      });

      e.on('idle', function(event){
	context.onElevatorIdle(e, context.elevators);
      });

      return e;
    });

    //Object.freeze(elevators);
  });

})(this);<commit_msg>Reformating<commit_after>(function (context) {
  "use strict";

  document.addEventListener('DOMContentLoaded', function () {

    context.elevators = [].slice.call(document.querySelectorAll('.shaft .elevator')).map(function (el, id) {
      var e = new Elevator({
        el: el,
        id: id
      });

      e.on('moving', function (event) {
        context.onElevatorRequest(e, context.elevators)
      });

      e.on('idle', function (event) {
        context.onElevatorIdle(e, context.elevators);
      });

      return e;
    });

    //Object.freeze(elevators);
  });

})(this);
{'fraction_non_alphanumeric': 0.17307692307692307, 'fraction_numerical': 0.0, 'mean_word_length': 3.017543859649123, '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': '7344178', 'n_tokens_mistral': 390, 'n_tokens_neox': 379, 'n_words': 61}