<commit_before>/*
 * script dependencies
 *
 * jQuery
 * socket.io
 */

$(document).ready( function($) {
  var socket = io();

  $('#button-ping').click( function() {
    socket.emit('ping-server');
  });

  socket.on('pong-client', function(_data) {
    if(_data.pong){
      $('#out-pong').append('pong <br />');
      $('#out-pong').fadeIn('100').fadeOut('100');
    }
  });
});<commit_msg>Added globals information in the comments of another file (ping-pong.js).<commit_after>/* globals
 * - io
 */

/* script dependencies
 * - jQuery
 * - socket.io
 */

$(document).ready( function($) {
  var socket = io();

  $('#button-ping').click( function() {
    socket.emit('ping-server');
  });

  socket.on('pong-client', function(_data) {
    if(_data.pong){
      $('#out-pong').append('pong <br />');
      $('#out-pong').fadeIn('100').fadeOut('100');
    }
  });
});
{'fraction_non_alphanumeric': 0.24539170506912442, 'fraction_numerical': 0.013824884792626729, 'mean_word_length': 3.1980676328502415, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '636146', 'n_tokens_mistral': 313, 'n_tokens_neox': 302, 'n_words': 49}