<commit_before>/*
 *
 * Sugar
 *
 * A library for working with primitive Javascript objects.
 *
 */

var Sugar;

(function(){

  /** Private functions used throughout the API. **/

  var extend = function(klass, instance, extend){
    for(var name in extend){
      if(extend.hasOwnProperty(name) && !klass.prototype[name]){
        if(instance){
          klass.prototype[name] = extend[name];
        } else {
          klass[name] = extend[name];
        }
      }
    }
  };

  var extendWithNativeCondition = function(klass, use, extend){
    for(var name in extend){
      if(!extend.hasOwnProperty(name)) continue;
      klass.prototype[name] = wrapNative(klass.prototype[name], extend[name], use);
    }
  };<commit_msg>more adapter stuff and no longer overwrite class methods<commit_after>/*
 *
 * Sugar
 *
 * A library for working with primitive Javascript objects.
 *
 */

var Sugar;

(function(){

  /** Private functions used throughout the API. **/

  var extend = function(klass, instance, extend){
    for(var name in extend){
      if(extend.hasOwnProperty(name) && (instance ? !klass.prototype[name] : !klass[name])){
        if(instance){
          klass.prototype[name] = extend[name];
        } else {
          klass[name] = extend[name];
        }
      }
    }
  };

  var extendWithNativeCondition = function(klass, use, extend){
    for(var name in extend){
      if(!extend.hasOwnProperty(name)) continue;
      klass.prototype[name] = wrapNative(klass.prototype[name], extend[name], use);
    }
  };
{'fraction_non_alphanumeric': 0.13817943680419123, 'fraction_numerical': 0.0, 'mean_word_length': 2.9079283887468033, 'pattern_counts': {'":': 0, '<': 3, '<?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': '5469449', 'n_tokens_mistral': 449, 'n_tokens_neox': 456, 'n_words': 112}