yui-compressor


YUI Compressor comments syntax error


I use YUI Compressor in Symfony2 with assetic bundle.
I have a problem:
If a jquery file start with /* comments I get syntax error....
In order to get rid of it I need to delete all /* comments from all js files...
This is starting to be a problem as everytime I update other bundles the comments are returning.
Anyone have an idea how to sovle this? Is this a known issue?
YUI Compressor version: 2.4.8
Thanks a lot.
Cannot seem to find why this is happening. It is most likely a bug. If you use Dreamweaver, try using this to ease your work. If you are not using dreamweaver, find your favourite program here.
Hope this helps!
Check the encoding on your file. I've had problems with YUI Compressor if my .js and .css files were not UTF-8.

Related Links

YuiCompressor.net - adding javascript source map links
YUI Compressor - compress from one directory to another
How to use yuicompressor in node application to minify javascript [closed]
Where can I find the latest version of yuicompressor to download
YUI Compressor to compress all the files in a directory
YUI Compressor comments syntax error
Why won't YUI Compressor munge these function names?
Does YUI compressor have support for rewriting relative paths?
YUI-Compressor: result file is empty
How to preserve comments with YUI compressor
YUI Compressor: What are micro optimizations?
Use Packer AND YUI Compressor?

Categories

HOME
osgi
jdo
coq
netbeans
keycloak
isabelle
single-sign-on
sqlite-net-extensions
google-oauth
jsrender
flyway4
datastax-java-driver
convolution
podio
pheatmap
adfs
virtualization
awesome-wm
collectd
circular-dependency
fatal-error
finite-automata
tokenize
graphicsmagick
wkwebview
realex-payments-api
java-7
javacv
uninstall
linkerd
webkitspeechrecognition
windowbuilder
vision
srcset
frame
google-sites-2016
perlin-noise
revolution-slider
bitbucket-pipelines
xcode-extension
preconditions
ensembles
janrain
glew
isbn
import-from-excel
businessworks
python-c-api
blogengine.net
sage-one
idisposable
aurelia-validation
typed-lambda-calculus
lync-client-sdk
dwscript
pycaffe
sts-springsourcetoolsuite
home-directory
apachebench
netmq
energy
xna-4.0
teamcity-8.0
eclipse-clp
spidermonkey
libressl
pretty-print
skos
csquery
pick
jscript.net
android-nested-fragment
asp.net-web-api-odata
websocket4net
castle
responsive-slides
comexception
dealloc
bundles
geos
dexterity
sitemesh
html4
plasma
enterprisedb
chuck
cisco-jtapi
bluepill
automount
multipage
viewswitcher
netdna-api
coercion
joyent
xdomainrequest
invite
cinema-4d
sustainable-pace
mediarss
mdac
wsdl.exe

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App