<commit_before>/*
 *        where.js
 *
 *  <NAME> - 9 Feb 2014
 *
 *  lib to detect OS and browser we are in
 *
 *  -----------> NOTE <-----------
 *  DON'T MINIFY THIS FILE
 *  IF YOU DO, CAREFUL FOR COMMENTS REMOVAL!!!!
 *  IE TESTS INCLUDE COMMENTS
 *
 *  Instructions
 *  -----------
 *
 *  Lib returns :
 *  - testAll() function, which is used to do
 *  the tests ( should call it once ).
 *  - addClassToBody(), so you can add a class to the body
 *  with the names of the tests passing.
 *  - setPrefix() so you can set your class prefix,
 *  - setNamespace(), so you can move the library wherever you want,
 *  and restore the 'where' property of the global namespace to whatever it was,
 *  to avoid conflicts.
 *
 ***************/
(function() {

  'use strict';

  var namespace,
    prefix = '',
    checkList = {
      browser: {},
      os: {}
    };
  // ------------------------------

  if(namespace === undefined){
    namespace = window;
    if(namespace.where !== undefined){
      namespace._oldWhere = namespace.where;
    }
    //  initialize our 'where' object in the namespace we have for now ( window if not changed )
    namespace.where = {};
  }

  // ------------- OS -------------
  checkList.os = {
    win: function(){<commit_msg>addsafety semicolons before the lib starts<commit_after>/*
 *        where.js
 *
 *  <NAME> - 9 Feb 2014
 *
 *  lib to detect OS and browser we are in
 *
 *  -----------> NOTE <-----------
 *  DON'T MINIFY THIS FILE
 *  IF YOU DO, CAREFUL FOR COMMENTS REMOVAL!!!!
 *  IE TESTS INCLUDE COMMENTS
 *
 *  Instructions
 *  -----------
 *
 *  Lib returns :
 *  - testAll() function, which is used to do
 *  the tests ( should call it once ).
 *  - addClassToBody(), so you can add a class to the body
 *  with the names of the tests passing.
 *  - setPrefix() so you can set your class prefix,
 *  - setNamespace(), so you can move the library wherever you want,
 *  and restore the 'where' property of the global namespace to whatever it was,
 *  to avoid conflicts.
 *
 ***************/
;(function() {

  'use strict';

  var namespace,
    prefix = '',
    checkList = {
      browser: {},
      os: {}
    };
  // ------------------------------

  if(namespace === undefined){
    namespace = window;
    if(namespace.where !== undefined){
      namespace._oldWhere = namespace.where;
    }
    //  initialize our 'where' object in the namespace we have for now ( window if not changed )
    namespace.where = {};
  }

  // ------------- OS -------------
  checkList.os = {
    win: function(){
{'fraction_non_alphanumeric': 0.18676585747846516, 'fraction_numerical': 0.003915426781519186, 'mean_word_length': 1.9571759259259258, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '1900983', 'n_tokens_mistral': 758, 'n_tokens_neox': 730, 'n_words': 274}