📜 ⬆️ ⬇️

Notes on the release of the second beta jQuery 1.7

Yesterday (October 13, 2011) , an announcement about the release of the second jQuery 1.7 beta appeared on the jQuery blog ; You can easily find a complete changelog there, but I still want to list all the changes that seemed most noticeable to me.

First, they have powerfully improved HTML5 support in IE . As far as I can tell from changes in the code on Github, separate tools for such support (for example, html5shiv or Shimprove ) will no longer be needed.

Secondly, the outerWidth (), .outerHeight (), .innerWidth (), .innerHeight () methods will now work on window and document objects.
')
Thirdly, CommonJS support appeared: jQuery self-registers as an asynchronous module . Before for this, jQuery came to be patched.

In addition to the above-mentioned improvements, in the beta version of the full- fixes, eradicating a lot of very different bugs, sometimes velmy great: scroll () in IE spun to the top , the jQuery.support.opacity property was false in Google Chrome, the .closest method ( '.class') could pick up an element instead of its parent , and so on. But that's as usual. Of these, the most interesting seemed to me that it was possible to cause jQuery crashes in IE8 with simple code:

$(window).is(':visible'); 

Source: https://habr.com/ru/post/130374/


All Articles