<commit_before>﻿var list = ["fire","+1","-1","a","b"];
function chat(){
//マージするときはこの下の行はコメントアウト
  var msg = prompt( "" , "流すメッセージを入力" );

//  var socket = io();
  var messages = document.getElementById('messages');

  /* --- Get Comment ---- */
//  socket.on('chat', function (msg) {

    var spflag = 0;
    for(l=0;l<list.length;l++){
      if(msg == ":"+list[l]+":"){
        spflag = 1;
        createPop(l);
        break;
      }
    }
    if(spflag == 0){
      createMarquee(msg);
    }

//  });
}

function createMarquee(msg){
  //タグ作る
  var comment = document.createElement('marquee');
  var max = 60;
  var ccode = ["r","g","b","c","m","y"];
  var color = ["#ff0000","#00ff00","#0000ff","#00ffff","#ff00ff","#fffff00"];

  //スペース減らし byたかねこ
  //全角全角→半角
  while(msg.indexOf("　　") != -1){<commit_msg>[merge] develop とviewの差を埋めた<commit_after>﻿var list = ["fire","+1","-1","a","b"];
function chat(){

  var socket = io();
  var messages = document.getElementById('messages');

  /* --- Get Comment ---- */
  socket.on('chat', function (msg) {

    var spflag = 0;
    for(l=0;l<list.length;l++){
      if(msg == ":"+list[l]+":"){
        spflag = 1;
        createPop(l);
        break;
      }
    }
    if(spflag == 0){
      createMarquee(msg);
    }

  });
}

function createMarquee(msg){
  //タグ作る
  var comment = document.createElement('marquee');
  var max = 60;
  var ccode = ["r","g","b","c","m","y"];
  var color = ["#ff0000","#00ff00","#0000ff","#00ffff","#ff00ff","#fffff00"];

  //スペース減らし byたかねこ
  //全角全角→半角
  while(msg.indexOf("　　") != -1){
{'fraction_non_alphanumeric': 0.24695317511225146, 'fraction_numerical': 0.03463758819756254, 'mean_word_length': 2.919597989949749, 'pattern_counts': {'":': 4, '<': 5, '<?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': '1600169', 'n_tokens_mistral': 685, 'n_tokens_neox': 636, 'n_words': 104}