Bug Tracker

Opened 7 years ago

Closed 7 years ago

#8854 closed bug (fixed)

Bug in minifier process

Reported by: anonymous Owned by:
Priority: blocker Milestone: 1.6
Component: build Version: 1.5.2
Keywords: Cc:
Blocked by: Blocking:

Description

I'm not sure what has gone wrong but in the minified version of jQuery

$.when().isResolved === function() { return c
b }
Where as the actual method is function() { return !!(c
b); }.

The minifying process removes the to boolean conversion. There may be more cases of this.

It now either returns undefined or [context, args]

You may want to look into your confidence that minifying does not change functionality.

Change History (2)

comment:1 Changed 7 years ago by timmywil

Component: unfiledbuild
Milestone: 1.next1.6
Priority: undecidedblocker
Status: newopen

comment:2 Changed 7 years ago by john

Resolution: fixed
Status: openclosed

I just updated the version of UglifyJS and this appears to be fixed.

Note: See TracTickets for help on using tickets.