<commit_before>/*!
 * Lectric v0.2.3
 * http://github.com/mckinney/lectric
 *
 * Copyright 2010, McKinney
 * Licensed under the MIT license.
 * http://github.com/mckinney/lectric/blob/master/LICENSE
 *
 * Author: <NAME>
 */

(function(window) {
  var Lectric = {};
  var Browser = {};

  var ua = navigator.userAgent.toLowerCase();
  Browser.isWebkit = !!ua.match(/applewebkit/i);
  Browser.isChrome = !!ua.match(/chrome/i);
  Browser.isIE = !!ua.match(/msie/i);
  Browser.isFirefox = ua.match(/firefox/);
  try {
    document.createEvent("TouchEvent");
    Browser.supportsTouch = true;
  } catch (e) {
    Browser.supportsTouch = false;
  }

  var Slider = function() {
    if (Browser.supportsTouch && Browser.isWebkit) {
      return new TouchSlider();
    } else {
      return new BaseSlider();
    }
  };
<commit_msg>Eliminating the Browser object<commit_after>/*!
 * Lectric v0.2.3
 * http://github.com/mckinney/lectric
 *
 * Copyright 2010, McKinney
 * Licensed under the MIT license.
 * http://github.com/mckinney/lectric/blob/master/LICENSE
 *
 * Author: <NAME>
 */

(function(window) {
  var ua = navigator.userAgent.toLowerCase();
  isWebkit = !!ua.match(/applewebkit/i);
  var supportsTouch = false;
  try {
    document.createEvent("TouchEvent");
    supportsTouch = true;
  } catch (e) {}

  var Slider = function() {
    if (supportsTouch && isWebkit) {
      return new TouchSlider();
    } else {
      return new BaseSlider();
    }
  };

{'fraction_non_alphanumeric': 0.15569272976680384, 'fraction_numerical': 0.009602194787379973, 'mean_word_length': 3.156695156695157, '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': '860371', 'n_tokens_mistral': 523, 'n_tokens_neox': 500, 'n_words': 98}