gleox / htmlcompressor

Automatically exported from code.google.com/p/htmlcompressor
Apache License 2.0
0 stars 0 forks source link

Remove comment is not working when we use #75

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Create one js file having comment(//alert('hy yatin)) in one js function 
2.java -jar htmlcompressor.jar -o /path/compressed/test.js 
/path/original/test1.js
3.Check the generated test1.js

What is the expected output? What do you see instead?
Answer:test1.js file is compressed properly ,but the //alert('hy yatin) is not 
removed in that compressed file.And i wan to expect that file is compressed 
properly as well as remove that comment also.

What version of the product are you using? On what operating system?
Answer:htmlcompressor-1.5.3.jar ,Windows xp

Original issue reported on code.google.com by baraiya....@gmail.com on 4 Sep 2012 at 1:36

GoogleCodeExporter commented 9 years ago
Htmlcompressor uses yuicompressor for optionally compressing javascript inside 
<script> tags. If you just want to comress plain js files then use 
yuicompressor directly.

Original comment by serg472@gmail.com on 10 Mar 2013 at 7:15