Opened 10 years ago
Closed 10 years ago
#13062 closed bug (notabug)
jQuery 1.8.3 can't be minified with JSmin
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.8.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
JSmin doesn't seem to like comments between "var" and the variable name, so this:
var
foo foo,
bar bar;
becomes this:
varfoo,bar
This is a problem with JSmin I suppose, but it's cheap to fix in jQuery.
Change History (2)
comment:1 Changed 10 years ago by
comment:2 Changed 10 years ago by
Resolution: | → notabug |
---|---|
Status: | new → closed |
Yes, it sounds like a problem with jsmin. Please report it there or use another minifier like Uglify.
Note: See
TracTickets for help on using
tickets.
Sorry, I didn't know how to format code.
This:
becomes this:
varfoo,bar;