Skip to main content

Bug Tracker

Side navigation

#8854 closed bug (fixed)

Opened April 12, 2011 07:50PM UTC

Closed April 17, 2011 08:32PM UTC

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.

Attachments (0)
Change History (2)

Changed April 12, 2011 08:50PM UTC by timmywil comment:1

component: unfiledbuild
milestone: 1.next1.6
priority: undecidedblocker
status: newopen

Changed April 17, 2011 08:32PM UTC by john comment:2

resolution: → fixed
status: openclosed

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