1.0.0 • Published 7 years ago

simpleform-custom-js v1.0.0

Weekly downloads
3
License
GPL-3.0
Repository
github
Last release
7 years ago

simpleform-js

Node builder to compile custom javascripts for PHP SimpleForm library (mvccore/simpleform), which serves web forms and much more.

Custom javascripts are compiled by Google Closure Compiller.

Instalation

npm install mvccore/simpleform-custom-js

Excending and custom javascript development

  • add, change or remove anything in "node_modules/simpleform-custom-js/jrc/*.js"
  • build your new javascript files
  • configure PHP SimpleForm library to use your custom javascripts

Building

Configuration

  • open file "node_modules/simpleform-custom-js/dev-tools/build.js"
  • edit lines 14 and 15 to change compiled javascript files destination

Windows

cd node_modules/simpleform-custom-js/dev-tools
build.cmd

Max/Linux

cd node_modules/simpleform-custom-js/dev-tools
build.sh