Ticket #7613 (closed bug: invalid)
query about minimised code
| Reported by: | anonymous | Owned by: | |
|---|---|---|---|
| Priority: | undecided | Milestone: | 1.5 |
| Component: | unfiled | Version: | 1.4.4 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
Firefox's firebug is throwing an error "reference to undefined property a[c.expando]" and shows this part of the code base
from jquery.1.4.4.min.js on firefox 3.6.12
--snip e);if(e=e&&e.events){delete f.handle;f...f(d==="margin")e+=parseFloat(c.css(a, --snip
does the e=e in the if statement actually do anything? is the minification code broken?
Change History
comment:3 Changed 2 years ago by jitter
- Status changed from new to closed
- Resolution set to invalid
No test case was submitted. So closing this. Feel free to reopen with a reproducible test case
comment:4 Changed 2 years ago by kdolan@…
I also get "reference to undefined property a[c.expando]" on line 42 from Firefox from jquery 1.4.3 quite a lot. It only freezes page load when Firefox is in debug mode.
The HTML page also includes the jquery.tablesorter plugin. Sometimes the HTML is generated with a table and sometimes not. The error seems to occur when the table is not present in the HTML. But that theory has not be thoroughly tested.
Here's the Break line #42 of jquery 1.4.3 (it include the c.expando):
| (a[c.expando]=f=++c.uuid);else h=a;if(typeof b==="object")if(e)h[f]= |
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

Thanks for taking the time to contribute to the jQuery project by writing a bug report!
Please submit a reduced test case, which reproduces the issue you are experiencing, on http://jsfiddle.net. So that we can investigate this issue further.
And yes the e=e&&e.events statement does something and the minification code is most likely not broken also the code snippet you posted doesn't include the statement a[c.expando] and this probably unrelated.
How to report bugs