<commit_before>/*!
 * jQuery SilverTrack
 * https://github.com/tulios/jquery.silver_track
 * version: 0.4.0
 */

(function ($, window, document) {

  var instanceName = "silverTrackInstance";

  $.fn.silverTrack = function(options) {
    var container = $(this);

    if (!container.data(instanceName)) {
      options = $.extend({}, $.fn.silverTrack.options, options);
      var instance = new SilverTrack(container, options);
      container.data(instanceName, instance);
      return instance;
    }

    return container.data(instanceName);
  };

  $.fn.silverTrack.options = {
    perPage: 4,
    itemClass: "item",
    mode: "horizontal",
    autoHeight: false,
    cover: false,
    duration: 600,
    easing: "swing",
    /*
     * Args: movement, duration, easing, afterCallback
     * - easing and afterCallback may be optional
     * - movement will be {left: someValue} or {height: someValue}
     */
    animateFunction: null,
    animationAxis: "x"
  };

  var SilverTrack = function (container, options) {
    this.options = options;
    this.container = container;<commit_msg>Creating isSilverTrackInstalled method #20<commit_after>/*!
 * jQuery SilverTrack
 * https://github.com/tulios/jquery.silver_track
 * version: 0.4.0
 */

(function ($, window, document) {

  var instanceName = "silverTrackInstance";

  $.fn.silverTrack = function(options) {
    var container = $(this);

    if (!container.data(instanceName)) {
      options = $.extend({}, $.fn.silverTrack.options, options);
      var instance = new SilverTrack(container, options);
      container.data(instanceName, instance);
      return instance;
    }

    return container.data(instanceName);
  };

  $.fn.isSilverTrackInstalled = function() {
    var container = $(this);
    return container.data(instanceName) != null;
  };

  $.fn.silverTrack.options = {
    perPage: 4,
    itemClass: "item",
    mode: "horizontal",
    autoHeight: false,
    cover: false,
    duration: 600,
    easing: "swing",
    /*
     * Args: movement, duration, easing, afterCallback
     * - easing and afterCallback may be optional
     * - movement will be {left: someValue} or {height: someValue}
     */
    animateFunction: null,
    animationAxis: "x"
  };

  var SilverTrack = function (container, options) {
    this.options = options;
    this.container = container;
{'fraction_non_alphanumeric': 0.1336464560204953, 'fraction_numerical': 0.006831767719897523, 'mean_word_length': 3.117750439367311, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '4523427', 'n_tokens_mistral': 724, 'n_tokens_neox': 695, 'n_words': 172}