<commit_before>qoo.js
======================================================================

qoo.js is a small, simple, and clean javascript(ES5) oop library.

Usage
----------------------------------------------------------------------

### Define a class:

```javascript
var Animal = qoo.class({
  constructor: function(name, legs) {
    this.name = name;
    this.legs = legs;
  },
  toString: function() {
    return this.name + " has " + this.legs + " legs.";
  }
});

var animal = new Animal("Annie", 2);
animal.toString();  // "Annie has 2 legs."
```

### Define a sub-class:

```javascript
var Cat = qoo.class(Animal, function($super) {
  return {
    constructor: function(name) {
      $super.constructor.call(this, name, 4);
    },
    toString: function() {
      return "Cat: " + $super.toString.call(this);
    }
  };
});

var cat = new Cat("Kitty");
cat.toString();  // "Cat: Kitty has 4 legs."
cat instanceof Cat;  // true
cat instanceof Animal;  // true
```

### Mix-in modules:modules

```javascript
function Runnable($super) {
  return {<commit_msg>README.md<commit_after>qoo.js
======================================================================

qoo.js is a small, simple, and clean javascript(ES5) oop library.

Usage
----------------------------------------------------------------------

### Define a class:

```javascript
var Animal = qoo.class({
  constructor: function(name, legs) {
    this.name = name;
    this.legs = legs;
  },
  toString: function() {
    return this.name + " has " + this.legs + " legs.";
  }
});

var animal = new Animal("Annie", 2);
animal.toString();  // "Annie has 2 legs."
```

### Define a sub-class:

```javascript
var Cat = qoo.class(Animal, function($super) {
  return {
    constructor: function(name) {
      $super.constructor.call(this, name, 4);
    },
    toString: function() {
      return "Cat: " + $super.toString.call(this);
    }
  };
});

var cat = new Cat("Kitty");
cat.toString();  // "Cat: Kitty has 4 legs."
cat instanceof Cat;  // true
cat instanceof Animal;  // true
```

### Mix-in modules:

```javascript
function Runnable($super) {
  return {
{'fraction_non_alphanumeric': 0.2834978843441467, 'fraction_numerical': 0.004701457451810061, 'mean_word_length': 2.643835616438356, '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': '5638005', 'n_tokens_mistral': 671, 'n_tokens_neox': 632, 'n_words': 172}