The jQuery team worked well to release the new release of the jQuery library and is now available for thorough testing. jQuery 1.3 is not yet ready for use in final products, and we need help to clear out any errors.
Loading
You can download a copy of jQuery 1.3b1 from here.
code.jquery.com/jquery-1.3b1.js
')
UPD: added some details from non-translate sources
Please do not use a minimized or packaged version of jQuery during testing, as this may make it difficult to detect errors.
Main areas of change
The following are the main areas in which important changes have occurred and which can most likely lead to problems in your code:
- selectors engine - the selectors code was completely rewritten, it is probably here that exceptional situations are possible (some edge cases still exist here);
- DOM manipulation (append / prepend / before / after) - this code has also been largely rewritten, along with some logic of executing "inline script" elements;
- .offset () is another method that has been completely rewritten;
- event namespaces — the logic for managing events in namespaces (namespaced events) has been completely rewritten;
- Event Triggering - now at the time of initiating an event, it bubbles up the DOM [I understand, I find it difficult to translate - approx. translator] - this moment can be a source of problems.
While we do not want to describe in detail all the innovations that are in jQuery 1.3 (we will do this when the release is scheduled for January 14), but we will accept any feedback that you provide to us.
How to leave a review:
- send an error message to the jQuery bug tracker (for this you need to create an account);
- make sure that you attach a simple test for each of the problems you have encountered (either attach a test or provide a link to it);
- indicate that you are testing “jQuery 1.3 Beta 1 ″ (otherwise, your report may be taken as a report for another version);
- Send an email link to your test and bug report on jQuery Dev to let the development team know about your test results.
Thanks in advance to everyone who helps in testing this release. We actually have high hopes for this release and we will not wait for the moment when it will finally be in our hands.
outside translation
The following very interesting details are available through this link
ajaxian.com/archives/jquery-13-beta-sizzling-and-feature-testing (without translation):
* Sizzle has been integrated
* No more browser testing: For example, no more if (jQuery.browser.msie &&! JQuery.isXMLDoc (this)) {which is replaced with if (! JQuery.support.noCloneEvent &&! JQuery.isXMLDoc (this)) {
* Live event delegration: “If you’re added to the same delegations. With $ ("# foo> div"). Live ("click", someFn); you get the same in jQuery
* $ (this) .closest ("div") ;: Returns this or closest ancestor that matches selector
* .offset () rewrite - significantly faster, uses no browser sniffing.
* .hide () /. show () rewrite - 50% - 200% faster.
* .append / prepend / before / after rewrite - 10-15x faster.