JQuery 1.7 second beta release notes

    Yesterday (October 13, 2011) , a jQuery blog post announced the release of the second jQuery 1.7 beta; You can easily find the full changelog in the same place, but I still want to list all the changes that seemed most noticeable to me.

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

    Secondly, the methods outerWidth (), .outerHeight (), .innerWidth (), .innerHeight () will now work on window and document objects.

    Thirdly, support for CommonJS appeared: jQuery self-registers as an asynchronous module . Previously, jQuery had to patch for this.

    Besides from the above-mentioned improvements in the beta version of a full-polnó corrections eradicates a lot of different bugs, sometimes Velma premerzkih: scroll () in IE to unscrew the top to book Margins of Reality , property jQuery.support.opacity equals false in Google Chrome, the method .closest ( '.class') could pick up the element itself instead of its parent , and so on. But this is as usual. Of these, the most interesting seemed to me the news that it was possiblecause jQuery to crash in IE8 with simple code:

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

    Also popular now: