#8995 closed bug (invalid)
jQuery.map( iframejQuery() ) enumerating properties.
Reported by: | Robert Katić | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | 1.next |
Component: | core | Version: | 1.5.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
jQuery.map( iframejQuery() ) enumerating properties.
Change History (9)
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
Component: | unfiled → core |
---|---|
Priority: | undecided → low |
Resolution: | → invalid |
Status: | new → closed |
Mixing versions of jQuery will break things as they should not be expected to work together. jQuery() is a different object than the jQuery you are using so it is expected that it would iterate the prototype. Here is an example using the iframe's jQuery: http://jsfiddle.net/timmywil/GJ3MH/2/
comment:3 Changed 12 years ago by
Are you serious? That makes sense to you? jQuery supports to use more version together from ages. Is it changed lately?
comment:4 Changed 12 years ago by
It's not out of the ordinary. Having multiple versions of jQuery on a page is supported, but they should always be used modularly. window.jQuery can only be one thing on a page and when used within an iframe, the iframe's jQuery should be used.
comment:5 Changed 12 years ago by
Not true. jQuery supports more versions on the same window! That is also the reason why jQuery.expando is something like "jQuery325535543552352", where it is generated in the way it will not conflict with other jQuery-es. Are you new here?
comment:6 Changed 12 years ago by
The purpose of the jQuery expando is to keep track of unique events and data. Yes, this means that different versions of jQuery can be attaching these items. Nevertheless, as I said, using more than one version of jQuery is fine, but the way you were mixing them has never been supported.
comment:8 follow-up: 9 Changed 12 years ago by
very well. I've been wrong before. I'll have Dave look at the ticket.
Patch: https://github.com/jquery/jquery/pull/356