Minify works with everything on my site except for one JS file from Nice Menus.

sites/all/modules/nice_menus/js/jquery.hoverIntent.js

I get this error message:

Failed to generate minified JS. Error: Parse error. Non-JSDoc comment has annotations. Did you mean to start it with '/**'?

Ideas?

Comments

flamez-b’s picture

Had the same trouble with some script - just opened that js and manually removed comments.

haysuess’s picture

Unfortunately, Minify causes some other theme issues so I can't use it, for now at least. Thanks for the fix though!

atul.bhosale’s picture

Assigned: Unassigned » atul.bhosale
atul.bhosale’s picture

@haysuess, Please report other theme issues in separate issue.

atul.bhosale’s picture

Status: Active » Fixed

Error "Failed to generate...." was because of compiler warning level was set to "DEFAULT".
In version 7.x-1.4 it is set to "QUIET" and working fine.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.