<commit_before># MvcCore - Extension - Form - Javascripts

[![Latest Stable Version](https://img.shields.io/badge/Stable-v4.2.0-brightgreen.svg?style=plastic)](https://github.com/mvccore/ext-form-js/releases)
[![License](https://img.shields.io/badge/License-BSD%203-brightgreen.svg?style=plastic)](https://mvccore.github.io/docs/mvccore/5.0.0/LICENCE.md)
[![Google Closure Build](https://img.shields.io/badge/Google%20Closure%20Build-passing-brightgreen.svg?style=plastic)](https://developers.google.com/closure/compiler/)

Node.JS builder to compile custom javascripts for PHP library MvcCore Form Extension ([mvccore/ext-form](https://github.com/mvccore/ext-form)), which serves web forms and much more.

Javascript files in current stable version `4.2` are compatible with `MvcCore Form Extension` with versions `4.x` and `5.x`.

Custom javascripts are compiled by **Google Closure Compiller** with advanced compilation.

## Instalation
Go to directory, where you want to place and add to base MvcCore form javascript files you custom javascript support code and run:

#### Windows
```cmd
:: create new empty directory "mvccore-ext-form-js"
mkdir mvccore-ext-form-js

:: clone this repository into newly created folder
git clone https://github.com/mvccore/ext-form-js mvccore-ext-form-js

:: go to repository folder
cd mvccore-ext-form-js

:: go to repository latest release (optional)
php -r "$a=shell_exec('git ls-remote --tags .');$b=explode('refs/tags/',$a);$c=trim($b[count($b)-1]);shell_exec('git checkout tags/'.$c);"

:: remove whole '.git' directory, git history (you don't need this repository history in your project repo)
rmdir /S /Q .git

:: load this node package dependencies<commit_msg>license badge images links and license links in php files doc comments headings fixed<commit_after># MvcCore - Extension - Form - Javascripts

[![Latest Stable Version](https://img.shields.io/badge/Stable-v4.2.0-brightgreen.svg?style=plastic)](https://github.com/mvccore/ext-form-js/releases)
[![License](https://img.shields.io/badge/License-BSD%203-brightgreen.svg?style=plastic)](https://mvccore.github.io/docs/mvccore/5.0.0/LICENSE.md)
[![Google Closure Build](https://img.shields.io/badge/Google%20Closure%20Build-passing-brightgreen.svg?style=plastic)](https://developers.google.com/closure/compiler/)

Node.JS builder to compile custom javascripts for PHP library MvcCore Form Extension ([mvccore/ext-form](https://github.com/mvccore/ext-form)), which serves web forms and much more.

Javascript files in current stable version `4.2` are compatible with `MvcCore Form Extension` with versions `4.x` and `5.x`.

Custom javascripts are compiled by **Google Closure Compiller** with advanced compilation.

## Instalation
Go to directory, where you want to place and add to base MvcCore form javascript files you custom javascript support code and run:

#### Windows
```cmd
:: create new empty directory "mvccore-ext-form-js"
mkdir mvccore-ext-form-js

:: clone this repository into newly created folder
git clone https://github.com/mvccore/ext-form-js mvccore-ext-form-js

:: go to repository folder
cd mvccore-ext-form-js

:: go to repository latest release (optional)
php -r "$a=shell_exec('git ls-remote --tags .');$b=explode('refs/tags/',$a);$c=trim($b[count($b)-1]);shell_exec('git checkout tags/'.$c);"

:: remove whole '.git' directory, git history (you don't need this repository history in your project repo)
rmdir /S /Q .git

:: load this node package dependencies
{'fraction_non_alphanumeric': 0.13842619184376795, 'fraction_numerical': 0.010338885697874785, 'mean_word_length': 5.132042253521127, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 16, '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': '2286984', 'n_tokens_mistral': 1164, 'n_tokens_neox': 1086, 'n_words': 312}