<commit_before>function Actuator (board) {
  this.board = board;
}

Actuator.prototype.render = function () {
  this.sync();
  this.adjustSpacing();
};

Actuator.prototype.sync = function () {
  for (var index = 0; index < this.board.markup.cells.length; index++) {
    var cell = this.board.markup.cells[index];

    if (this.board.isOccupied(index)) {
      cell.classList.add('occupied', this.board.getCell(index));
      cell.innerText = this.board.getCell(index);
    }
  }
};

Actuator.prototype.adjustSpacing = function () {
  for (var index = 0; index < this.board.markup.cells.length; index++) {
    var cell = this.board.markup.cells[index];
    cell.style.height = cell.scrollWidth + 'px';
  }
};
<commit_msg>Use Node.textContent instead of innerText<commit_after>function Actuator (board) {
  this.board = board;
}

Actuator.prototype.render = function () {
  this.sync();
  this.adjustSpacing();
};

Actuator.prototype.sync = function () {
  for (var index = 0; index < this.board.markup.cells.length; index++) {
    var cell = this.board.markup.cells[index];

    if (this.board.isOccupied(index)) {
      cell.classList.add('occupied', this.board.getCell(index));
      cell.textContent = this.board.getCell(index);
    }
  }
};

Actuator.prototype.adjustSpacing = function () {
  for (var index = 0; index < this.board.markup.cells.length; index++) {
    var cell = this.board.markup.cells[index];
    cell.style.height = cell.scrollWidth + 'px';
  }
};

{'fraction_non_alphanumeric': 0.16258503401360544, 'fraction_numerical': 0.0027210884353741495, 'mean_word_length': 3.596875, 'pattern_counts': {'":': 0, '<': 7, '<?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': '3804723', 'n_tokens_mistral': 517, 'n_tokens_neox': 502, 'n_words': 88}