<commit_before># JS Lab

JS experiments for the [JS Overview](http://www.thruzero.com/jcat3/apps/resources/resources.jsf?rid=javascript.overview) at ThruZero.

## Description


## Experiments

* [JS Lab Demo](http://www.thruzero.com/pages/jcat3/js-lab/html/index.html)
  * [Window Interface](http://www.thruzero.com/pages/jcat3/js-lab/html/bom/window.html)
  * [Navigator Interface](http://www.thruzero.com/pages/jcat3/js-lab/html/bom/navigator.html)
  * [Screen Interface](http://www.thruzero.com/pages/jcat3/js-lab/html/bom/screen.html)
  * [Location Interface](http://www.thruzero.com/pages/jcat3/js-lab/html/bom/location.html?test=a+query+string#hash1)
  * [History Interface](http://www.thruzero.com/pages/jcat3/js-lab/html/bom/history.html)
  * [Document Interface](http://www.thruzero.com/pages/jcat3/js-lab/html/dom/document.html)

## Building a Release

### Setup

The project's build process uses Node.js and Grunt.
If you don't have Grunt, you can follow the [Getting Started](http://gruntjs.com/getting-started) guide.
Next, just do an `sudo npm install` which will install Grunt locally as well as all of the project dependencies:

```bash
sudo npm install<commit_msg>Added description for testing locally.<commit_after># JS Lab

JS experiments for the [JS Overview](http://www.thruzero.com/jcat3/apps/resources/resources.jsf?rid=javascript.overview) at ThruZero.

## Description


## Experiments

* [JS Lab Demo](http://www.thruzero.com/pages/jcat3/js-lab/html/index.html)
  * [Window Interface](http://www.thruzero.com/pages/jcat3/js-lab/html/bom/window.html)
  * [Navigator Interface](http://www.thruzero.com/pages/jcat3/js-lab/html/bom/navigator.html)
  * [Screen Interface](http://www.thruzero.com/pages/jcat3/js-lab/html/bom/screen.html)
  * [Location Interface](http://www.thruzero.com/pages/jcat3/js-lab/html/bom/location.html?test=a+query+string#hash1)
  * [History Interface](http://www.thruzero.com/pages/jcat3/js-lab/html/bom/history.html)
  * [Document Interface](http://www.thruzero.com/pages/jcat3/js-lab/html/dom/document.html)

## Testing Locally

Just cd to the project directory and open the ```src/html/index.html``` file in your browser.
The CSS and JavaScript files will be accessed in a non-minified and non-amalgamated way.

Alternatively, you can perform a build, which will optimize the CSS and JavaScript files for deployment.

## Building a Release

### Setup

The project's build process uses Node.js and Grunt.
If you don't have Grunt, you can follow the [Getting Started](http://gruntjs.com/getting-started) guide.
Next, just do an `sudo npm install` which will install Grunt locally as well as all of the project dependencies:

```bash
sudo npm install
{'fraction_non_alphanumeric': 0.14349276974416017, 'fraction_numerical': 0.006674082313681869, 'mean_word_length': 4.597510373443983, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 16, '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': '4679143', 'n_tokens_mistral': 962, 'n_tokens_neox': 915, 'n_words': 201}