<commit_before># casperjs-cljs-test-example


## Description

Load an example website built in ClojureScript based on the Chestnut template. This can be used to run CasperJS tests 
written in ClojureScript and cross-compiled to JavaScript. 

## Project Structure

The example website is based on the standard Chestnut template. Added to this is a `casper` folder containing a CasperJS 
script and test and the corresponding ClojureScript translated versions.

The `casper` and `casper-test` lein aliases cross-compile the namespaces in the `casper/script` and `casper/test` 
folders respectively and run the compiled JavaScript outputs using CapserJS.

## Requirements

* [CasperJS 1.1.0-DEV](http://casperjs.readthedocs.org/en/latest/# "target =" _ blank)
* [Leiningen 2.5.1](https://github.com/technomancy/leiningen "target =" _ blank)

## Trying it out

Open a terminal and type `lein repl` to start a Clojure REPL
(interactive prompt).

In the REPL, type<commit_msg>Remove target blank<commit_after># casperjs-cljs-test-example


## Description

Load an example website built in ClojureScript based on the Chestnut template. This can be used to run CasperJS tests 
written in ClojureScript and cross-compiled to JavaScript. 

## Project Structure

The example website is based on the standard Chestnut template. Added to this is a `casper` folder containing a CasperJS 
script and test and the corresponding ClojureScript translated versions.

The `casper` and `casper-test` lein aliases cross-compile the namespaces in the `casper/script` and `casper/test` 
folders respectively and run the compiled JavaScript outputs using CapserJS.

## Requirements

* [CasperJS 1.1.0-DEV](http://casperjs.readthedocs.org/en/latest/#)
* [Leiningen 2.5.1](https://github.com/technomancy/leiningen)

## Trying it out

Open a terminal and type `lein repl` to start a Clojure REPL
(interactive prompt).

In the REPL, type
{'fraction_non_alphanumeric': 0.07756813417190776, 'fraction_numerical': 0.006289308176100629, 'mean_word_length': 4.6985074626865675, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '1479523', 'n_tokens_mistral': 597, 'n_tokens_neox': 564, 'n_words': 227}