aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Added a new .stop() method which stops all animations running on the matched ↵John Resig2007-09-042-2/+39
| | | | | | | | | | | set of elements. Example: $("#foo").slideDown(1000); setTimeout(function(){ $("#foo").stop(); }, 500);
* Re-disabled the ajax tests in Safari 3.John Resig2007-09-031-2/+2
|
* Added support for:John Resig2007-09-032-159/+408
| | | | | | | | | | | | | - Cross Domain getScript $.getScript("http://foo.com/script.js"); - JSONP $.ajax({ url: "script.js", type: "jsonp" }); $.getJSON("script.js?callback=?"); - Cross Domain JSONP/getJSON $.getJSON("http://foo.com/script.js?callback=?"); - No-cache Ajax Requests $.ajax({ url: "test.html", cache: false });
* Added namespaced events to bind, unbind, and trigger. This allows you to ↵John Resig2007-09-032-10/+52
| | | | deal with event handlers of a specific "class" (great for plugins).
* Reverted the change that I made in #1320.John Resig2007-09-021-1/+1
|
* Added support for a new :header psuedo-selector (only selects H1-H6 elements).John Resig2007-08-312-2/+7
|
* Added support for .wrapInner() and .wrapAll() - and re-wrote .wrap() to use ↵John Resig2007-08-312-25/+60
| | | | .wrapAll(). (Fixes bug #1296)
* Added support for .contents(). Returns ALL child nodes for an element - ↵John Resig2007-08-312-1/+9
| | | | except for on an IFrame, then it returns the IFrame's document. This fixes #1024.
* Added $(...).map() functionality. (Also closes #1250, imo)John Resig2007-08-312-0/+26
|
* Made it so that you can pass in an event object to the trigger data args and ↵John Resig2007-08-302-8/+33
| | | | it'll override the custom event object (this way you can pass in the event object of a mousemove to a drag event trigger, for example).
* Added a new extra fn arg to trigger (so you don't have to simulate the ↵John Resig2007-08-302-9/+46
| | | | trigger yourself). (Bug #1467) Added a new .triggerHandler() method that allows you to NOT trigger native calls AND returns the response from the handlers. (Bug #873 & #1417)
* Made jQuery's internal trigger method return the value from handle. (Bug #1417)John Resig2007-08-281-0/+5
|
* Made it so that the last return value is always returned from handle() ↵John Resig2007-08-281-2/+6
| | | | (unless one of the return values was false, in which case the return value is false). (Bug #1416)
* Fixed the issue where $("body").find("div#foo") would ignore the specified ↵John Resig2007-08-272-2/+4
| | | | tag name. (Bug #1543)
* Added new replaceWith() (replace all matched elements with the specified ↵John Resig2007-08-252-1/+54
| | | | HTML/DOM Elements/Array/etc.) and replaceAll() (replace the specified elements with the set of matched elements).
* Added a test case for "purple include", fixed a bug.John Resig2007-08-252-2/+13
|
* New feature: You can now inject portions of a document via .load(), as ↵John Resig2007-08-251-1/+17
| | | | | | | | | | | | | | opposed to the full thing. Examples: - $("#test").load("test.html #something"); - $("#test").load("test.html p.user"); Caveats: - No scripts are injected when a selector is used. - The selector is rooted inside the head and body - it's equivalent to doing: $("body,head").find(selector)
* Landing animation of scrollLeft/scrollTop (also works on random DOM object ↵John Resig2007-08-251-11/+7
| | | | properties as well).
* Marked all the appropriate methods as being deprecated for the 1.1.4 release ↵John Resig2007-08-243-0/+11
| | | | (in preparation for 1.2).
* Brought back a husk method to represent evalScripts. I didn't realize so ↵John Resig2007-08-241-1/+6
| | | | many plugins relied on it (it's deprecated in this release).
* Tweaked the Ajax test suite for Safari.John Resig2007-08-221-5/+10
|
* Only bind .ready() once per instance of jQuery - and only bind if the ↵John Resig2007-08-222-3/+12
| | | | ready() method is actually called (nothing is bound if window/load is used).
* Fixed bug with the packed version of jQuery.John Resig2007-08-221-1/+1
|
* Fixed the case where global events weren't being triggered on window and ↵John Resig2007-08-221-1/+1
| | | | document.
* Fixed use of eval() and new Function() to work within the correct scope (and ↵John Resig2007-08-222-3/+3
| | | | not throw errors).
* Made 'jQuery' unrollable via .noConflict(true) and instances of new ↵John Resig2007-08-221-6/+12
| | | | Function() have been converted to eval(function(){}) in order to handle jQuery name changes. (Bug #1393)
* Added fix for undefined property in animation, in IE (Bug #1518)John Resig2007-08-221-1/+1
|
* Using some of the ideas presented by rformato, I've significantly sped up ↵John Resig2007-08-211-11/+30
| | | | $("#id") selection. It's now just 10% slower than doing: $(document.getElementById("test")), which seems quite acceptable. (Bug #1316)
* Added the new :has() selector (Bug #1521)John Resig2007-08-212-2/+6
|
* You can now assign jQuery to random namespaces - very cool. (Bug #1393)John Resig2007-08-212-2/+2
|
* Fix for a selector speed regression (calling a simple selector many times ↵John Resig2007-08-215-39/+40
| | | | | | | | | | resulted in a significant speed down). This has been fixed by breaking the RegExps out into the global scope. This required that a closure be implemented around the full jQuery script (which is now the case). Some simple changes were made in addition to the RegExp one, allowing for some greater flexibility on our part - and hopefully better compression. Speed results: http://dev.jquery.com/~john/ticket/1351/ vs. http://dev.jquery.com/~john/ticket/1351/113.html vs. http://dev.jquery.com/~john/ticket/1351/112.html
* Two quick fixes in relation to #1028. ajaxSetup shouldn't be deep and the ↵John Resig2007-08-212-2/+2
| | | | boolean arg should be used, not overwritten with 'true'.
* Make deep .extend() an optional argument - it will go deep if you pass in an ↵John Resig2007-08-213-5/+11
| | | | boolean as the first argument (fixed bug #1028).
* Fixed two cases where []. was used instead of Array.prototype. (Bug #1427)John Resig2007-08-202-2/+2
|
* Just pushed in my changes for making jQuery.each on objects faster, sample ↵John Resig2007-08-201-9/+15
| | | | results: http://dev.jquery.com/~john/ticket/each/obj.html
* Just pushed some major speed improvements through for $.each() - we're now ↵John Resig2007-08-201-2/+8
| | | | seeing a 2x speed improvement over 1.1.3. Some crude results can be found here: http://dev.jquery.com/~john/ticket/each/
* Make jQuery work without warnings in strict mode, in Firefox.John Resig2007-08-202-2/+5
|
* Implemented the new .slice() method (bug #1517).John Resig2007-08-202-0/+12
|
* Complete overhaul of the Ajax test suite, it's now passing in all browsers. ↵John Resig2007-08-196-246/+322
| | | | | | | | | | In order to achieve this I had to fix a numbe r of bugs in the suite itself, along with other random bugs that popped up. The following bugs were resolved along the wa y: #1236 (.extend() keeps processing when it hits nulls), #1028 (.extend() now works recursively), #1080 ($.get no longer overwrites the data parameter), #1210 (Creating script and link tags now work), and #1463 (jQuery.global has been re-too led to no longer leak memory and slow things down).
* Added a fix for IE returning comment nodes in * queries. I put the logic in ↵John Resig2007-08-192-3/+17
| | | | $.merge() but added a conditional such that the speed hit only effects IE users. (Bug #1155)
* Applied arrix's fix for getting style values on elements that aren't in the ↵John Resig2007-08-191-1/+1
| | | | DOM, in Safari. (Bug #1482)
* We were catching exceptions within the success callback of an Ajax request, ↵John Resig2007-08-191-30/+31
| | | | then causing an error callback to be called (which is incorrect). (Bug #1441)
* Fixed non-unique results from .parent(), .parents(), .next(), etc. (Bug #1449)John Resig2007-08-192-6/+15
|
* Added a fix for bug #1489, appending <caption> was broken.John Resig2007-08-162-2/+6
|
* More missing semicolons.John Resig2007-08-071-2/+2
|
* Added a couple JSLint-caught fixes.John Resig2007-08-071-3/+3
|
* Brought back jQuery.globalEval(), fixing bug #1425.John Resig2007-07-312-2/+17
|
* When we disabled triggering of clicks, we also killed off blur and focus, ↵John Resig2007-07-311-1/+1
| | | | this fixes that (bug #1440).
* The test for underscore selectors broke under Opera, so the element is now ↵John Resig2007-07-301-3/+12
| | | | loaded via Ajax and tested. (bug #1084)
* IE prunes whitespace from the start of innerHTML-injected strings. This ↵John Resig2007-07-301-1/+5
| | | | fixes that.