laxman954 / granule

Automatically exported from code.google.com/p/granule
0 stars 0 forks source link

unexpected token function (a JavaScript error when using granule:compress) #20

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.follow issue 10 
2.use it in .xhtml file

What is the expected output? What do you see instead?
should display the same output as without using granule:compress tag.

What version of the product are you using? On what operating system?
1.0.9

Please provide any additional information below.

I followed Issue 10 steps for JSF 2.0. But when i try to run my application it 
gives "unexpected token function" in chrome. i searched for it and found it is 
a js error so i think my <granule:compress> tag is not compressing/removing 
spaces in my javascript files correctly. so kindly help me in resolving the 
issue. Without using granule:compress tag for js files my application is 
running fine.

Original issue reported on code.google.com by chaman.l...@gmail.com on 22 Oct 2012 at 10:31

GoogleCodeExporter commented 8 years ago
resolved

Sorry all, i forgot to put granule.debug.properties & granule.properties files 
in WEB-INF that's why granule component was not compressing java-script 
correctly. Thanks 

Original comment by chaman.l...@gmail.com on 22 Oct 2012 at 10:52