⬆️ ⬇️

JQuery 1.4.3 released

On October 16, a new version of jQuery - 1.4.3 was released.



Performance improvements


After rewriting the css module, the animation in the tests accelerated to 20%. Many of the DOM tree traversal operations in browsers that support querySelectorAll or matchesSelector .



data


The data module has been expanded and deepened, data attributes from HTML5 and the new changeData event are now supported.



The readyWait property appeared in the Ajax module, which allows you to delay the ready event until the specified time.

')

Developments


Now you can write .bind("click", false) and .unbind("click", false) . The first is equivalent to .bind("click", function () { return false; }) .



Built-in functions for handling events, such as .click , can now take two arguments of this type:

 .click (data, fn)


Animation


All animation methods ( .show , .hide ) now have a form with three arguments - time, easing and callback.



miscellanea


Two functions have been added: jQuery.type and jQuery.isWindow .



And now jQuery runs through Douglas Crockford's infamous JSLint. This energy would be yes for peaceful purposes ...

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



All Articles