Haskell version of jsmin js minifier
JavaScript PHP Haskell
Pull request Compare This branch is 74 commits behind erikd:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Text
resources
test
.gitignore
LICENSE
README.markdown
Setup.hs
TODO.txt
buildall.sh
hjsmin.cabal
runtests.hs

README.markdown

hjsmin

Haskell implementation of a javascript minifier

It is intended to be used in conjunction with Hamlet, part of Yesod.

As such, much of the structure of the package is shamelessly copied from Hamlet.

See http://github.com/snoyberg/hamlet

How to build

Library:

cabal clean && cabal configure && cabal build

Tests:

cabal clean && cabal configure -fbuildtests && cabal build

Running the tests

./dist/build/runtests/runtests

Changes

0.0.14 - Allow unicode characters in comments

0.0.13 - Error in parsing numbers with zeros before decimal point

0.0.12 - Worked in Michael Snoyman's fix for unicode output

0.0.11 - Worked in language-javascript 0.4.*, with source locations in the AST Worked in processing of property get/set in object literals 0.0.10 - Removed attoparsec dependency and historical Parse/Token