⬆️ ⬇️

JQuery 1.6 RC 1 released

The day before yesterday, John Resig announced the release of a preview version of the future jQuery 1.6 library .



All interested programmers can immediately download it and check if this version behaves worse in their scripts compared to the previous one. Apparently, this is one of the last opportunities to report bugs , if something goes wrong. Ahead of the release.



Rezig makes a fairly extensive list of changes in version 1.6 of RC 1, mainly boiling down to correcting errors (sometimes quite intricate), smoothing out roughness, and speeding up the work of individual functions. There are notable new items. In addition to those that I already mentioned in the beta review , it was possible to call jQuery.noConflict () at any time, as well as the new jQuery.holdReady () method so that, if necessary, you can keep the onset of the ready event.

')

The .animate () method provided support for the deferred interface (see [ 1 ], [ 2 ]), so that it becomes possible to simply hang such a function, which should work after the end of all animations:
$.when(   $elements.animate(properties),    $elements2.animate(properties2),    … ).then(function(){    … }); 


You will surely agree that this novelty is unusually pleasant, because it completely eliminates the need to recover in such cases.

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



All Articles