Bug Tracker

Modify

Opened 6 years ago

Closed 6 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 6 years ago by timmywil

  • Component changed from unfiled to build
  • Milestone changed from 1.next to 1.6
  • Priority changed from undecided to blocker
  • Status changed from new to open

comment:2 Changed 6 years ago by john

  • Resolution set to fixed
  • Status changed from open to closed

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

Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

Modify Ticket

Change Properties
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.