<commit_before>E$
==

> A lightweight event emitter for clients and servers.

Overview
--------

> E$ can be used as a standalone constructor, or to extend prototypical objects.

```javascript
var emoneyStandalone = E$({
  handleE$: function( e ) { ... }
});

var emoneyExtended = (function() {

  function Constructor() {
    E$.construct( this );
  }

  E$ishConstructor.prototype = E$.create({
    handleE$: function( e ) { ... }
  });

  return new Constructor();

}());
```

> E$ provides a clean way to interface with object instances.

```javascript
emoneyExtended
.$when( 'loading' , function( e , pct ) {
  console.log( 'loading... (' + pct + '%)' );
})
.$when( 'ready' , function( e ) {
  console.log( 'ready!' );
})
.$when( 'error' , function( e , err ) {
  console.error( err.stack );
});
```

> E$ instances can communicate via the `handleE$` method.

```javascript
emoneyExtended.$watch( emoneyStandalone );<commit_msg>fixing a typo<commit_after>E$
==

> A lightweight event emitter for clients and servers.

Overview
--------

> E$ can be used as a standalone constructor, or to extend prototypical objects.

```javascript
var emoneyStandalone = E$({
  handleE$: function( e ) { ... }
});

var emoneyExtended = (function() {

  function E$ishConstructor() {
    E$.construct( this );
  }

  E$ishConstructor.prototype = E$.create({
    handleE$: function( e ) { ... }
  });

  return new E$ishConstructor();

}());
```

> E$ provides a clean way to interface with object instances.

```javascript
emoneyExtended
.$when( 'loading' , function( e , pct ) {
  console.log( 'loading... (' + pct + '%)' );
})
.$when( 'ready' , function( e ) {
  console.log( 'ready!' );
})
.$when( 'error' , function( e , err ) {
  console.error( err.stack );
});
```

> E$ instances can communicate via the `handleE$` method.

```javascript
emoneyExtended.$watch( emoneyStandalone );
{'fraction_non_alphanumeric': 0.18230277185501065, 'fraction_numerical': 0.0, 'mean_word_length': 3.501199040767386, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '4452381', 'n_tokens_mistral': 629, 'n_tokens_neox': 598, 'n_words': 180}