<commit_before>GrandCentral
========

Introduction
-------
GrandCentral sets up a 1 second interval in which server polling, DOM updating, or any other timed events can be subscribed to. The system work by crafting an object with a few parameters required by the event bus. Events will be triggered based on their given properties, then modified for the next iteration.

Features
-------
Setting up server polling is as easy as building objects and adding them to the GrandCentral queue. GrandCentral works by triggering callbacks on queued objects, and is 100% agnostic of any implementation it might trigger.

Usage
-------
GrandCentral requires objects in its queue to have (at least) a minimal number of properties (but in no way limits the amount of properties a queued object can contain), these properties are used by GrandCentral to process triggers in the queue. GrandCentral, by design, is attached to the window object and is globally accessible.

__Basic Queue Object__

```javascript
var o = GrandCentral.add({
  callback: function() {
    console.log('Test');
  }
});
```


Object Properties
-------
### callback (required)
__type:__ function
<commit_msg>Updated README for release<commit_after>GrandCentral
========

Introduction
-------
GrandCentral sets up a 1 second interval in which server polling, DOM updating, or any other timed events can be subscribed to. The system work by crafting an object with a few parameters required by the event bus. Events will be triggered based on their given properties, then modified for the next iteration.

Features
-------
Setting up server polling is as easy as building objects and adding them to the GrandCentral queue. GrandCentral works by triggering callbacks on queued objects, and is 100% agnostic of any implementation it might trigger.

Installation
-------
To install, use bower and reference the repository directly, as such:

```
bower install grandcentraljs=https://github.com/EvanHammond/grandcentraljs.git^0.1.0 --save
```

Usage
-------
GrandCentral requires objects in its queue to have (at least) a minimal number of properties (but in no way limits the amount of properties a queued object can contain), these properties are used by GrandCentral to process triggers in the queue. GrandCentral, by design, is attached to the window object and is globally accessible.

__Basic Queue Object__

```javascript
var o = GrandCentral.add({
  callback: function() {
    console.log('Test');
  }
});
```

Object Properties
-------
### callback (required)
__type:__ function

{'fraction_non_alphanumeric': 0.08061344868265828, 'fraction_numerical': 0.004325599685410932, 'mean_word_length': 4.181262729124236, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '3413110', 'n_tokens_mistral': 646, 'n_tokens_neox': 592, 'n_words': 343}