Bug Tracker

Opened 6 years ago

Closed 6 years ago

#13062 closed bug (notabug)

jQuery 1.8.3 can't be minified with JSmin

Reported by: salvatore@… 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 6 years ago by salvatore@…

Sorry, I didn't know how to format code.

This:

var
  // foo
  foo,
  // bar
  bar;

becomes this:

varfoo,bar;

comment:2 Changed 6 years ago by dmethvin

Resolution: notabug
Status: newclosed

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.