aboutsummaryrefslogtreecommitdiffstats
path: root/src/core.js
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed a bug with the isXMLDoc test - also made sure that isXMLDoc was ↵John Resig2009-08-271-1/+2
| | | | handling the case where documentElement is undefined (which only occurs on HTML documents in IE).
* Tweaked the isXMLDoc iframe test case to test the document, not the body ↵John Resig2009-08-271-1/+1
| | | | element (which doesn't exist in IE). Also made the isXMLDoc code handle cases where elem is null, undefined, etc.
* Moved exposing window.jQuery and window.$ to the end of the jQuery file ↵John Resig2009-08-101-3/+0
| | | | (helps some compatibility cases with older version of Prototype). Fixes ticket #4834.
* Fix some missing braces in core.js.John Resig2009-07-271-2/+6
|
* Added an improvement to quickExpr and some more tests for jQuery('html'). ↵John Resig2009-07-271-3/+3
| | | | Fixes #4979.
* Shortened the isXMLDoc code, based upon recommendation from Andrea.John Resig2009-07-271-2/+1
|
* Added an extra documentElement check to isXMLDoc for IE - and added a number ↵John Resig2009-07-271-1/+4
| | | | of unit tests for isXMLDoc. Fixes #4833.
* Changed .get(-Number) to use .slice() instead of .toArray() (which doesn't ↵John Resig2009-07-231-1/+1
| | | | take any arguments). Follow-up from commit [6484].
* Make sure that at least one argument is provided to .slice(), in accordance ↵John Resig2009-07-231-1/+3
| | | | with the spec. Fixes jQuery bug #4942.
* Optimizing isXMLDoc.John Resig2009-07-221-2/+1
|
* Made some syntax tweaks to core.js.John Resig2009-07-191-5/+12
|
* Saved some references to native methods, instead of re-referencing them on ↵John Resig2009-07-191-5/+7
| | | | every call.
* Moved some RegExp in core.js, goes toward #4111.John Resig2009-07-191-2/+8
|
* Standardizing on .test() and .exec() - moving away from using .match() for ↵John Resig2009-07-191-1/+1
| | | | RegExp. Fixes jQuery bug #4113.
* Add test for jQuery(jQueryObj) cloning and simplify new get() codeYehuda Katz2009-07-171-3/+2
|
* jQuery objects have a default length of 0. Simplifies $() some.Yehuda Katz2009-07-171-13/+12
|
* jquery core: Simplifying isEmptyObject() and adding tests.Ariel Flesler2009-07-161-3/+3
|
* Refactor jQuery.data a bit to reduce property lookupsYehuda Katz2009-07-161-0/+6
| | | | - Also added jQuery.isEmptyObject
* jQuery.extend(true, Object, Object) copies custom objects correctly.Yehuda Katz2009-07-161-3/+13
| | | | - Also update jQuery.isObject to handle this case correctly
* jQuery.extend(true, Object, Object) copies objects with length keys correctlyYehuda Katz2009-07-161-1/+1
|
* Add support for .get(-Number) Closes #4188Yehuda Katz2009-07-161-2/+2
|
* Make toArray an alias for .get(). Closes #3999Yehuda Katz2009-07-161-1/+3
|
* Scope 'document' locally (also useful for sandboxing). Patch from Andrea ↵John Resig2009-07-151-0/+3
| | | | Giammarchi. Fixes bug #4905.
* Optimized jQuery(Element) to not call jQuery() twice.John Resig2009-07-111-4/+7
|
* jquery core: Closes #2827. jQuery.each iterates over functionsAriel Flesler2009-06-201-3/+5
|
* Did some light reordering of the jQuery definition. Moved window and ↵John Resig2009-05-201-15/+10
| | | | undefined to exist in intro/outro.
* jquery core: $() -> $(document) and $(undefined) -> $([]). Removed a ↵Ariel Flesler2009-05-031-7/+1
| | | | duplicated block.
* index now works in reverse when passed a selector or undefined. fixes #3971Brandon Aaron2009-05-021-3/+9
|
* Unified the formatting of core.js. === or !== are used wherever appropriate, ↵John Resig2009-03-311-99/+141
| | | | syntax has been normalized, braces are added in all cases, and jQuery() now returns an empty set.
* remove trailing spacesBrandon Aaron2009-03-231-2/+2
|
* breaking jquery out into smaller modules. added attributes.js, ↵Brandon Aaron2009-03-181-851/+5
| | | | manipulation.js, and traversing.js
* fix for #4074, pass context to jQuery.clean for jQuery.cloneBrandon Aaron2009-03-181-3/+3
|
* fix for #3688, setting type attribute on button causes IE to throw errorBrandon Aaron2009-03-171-1/+1
|
* using parseFloat for offset and position methods and removed num helper methodBrandon Aaron2009-03-171-5/+0
|
* Backed out commit [6260], was causing too many problems. We'll have to bite ↵John Resig2009-03-171-3/+8
| | | | the bullet and assume that the incoming result set has array methods. Un-fixes jQuery bug #4250.
* jquery core: Fixed a typo in a comment, closes #4294.Ariel Flesler2009-03-051-1/+1
|
* Simplified the structure of the .css() and .attr() methods (reducing the ↵John Resig2009-02-281-27/+29
| | | | number of calls). Need to optimize $.css/$.curCSS/$.attr still. Fixes #4269.
* Removed the need for the results set to have array methods. Resolves jQuery ↵John Resig2009-02-251-8/+3
| | | | bug #4250.
* Made some changes to how .find() works, inlined the duplicate check - should ↵John Resig2009-02-251-10/+18
| | | | change other methods to act similarly. Goes towards fixing #4240.
* Simplified the isXML function, no need to use recursion.John Resig2009-02-251-3/+6
|
* Cut down on some more function calls for jQuery(...). Everything points back ↵John Resig2009-02-251-21/+18
| | | | to the same root jQuery(document) object now. Going towards ticket #4240.
* Reduced the number of function calls required for .find() (single element ↵John Resig2009-02-251-9/+27
| | | | root), optimized some calls to jQuery() as well. Goes towards fixing #4240.
* Overhauled the .remove() and .empty() methods to be much more efficient. ↵John Resig2009-02-231-8/+21
| | | | Fixes bug #4222.
* Made sure that .remove now uses multiFilter. Fixes bug #4205.John Resig2009-02-201-1/+1
|
* Made it so that appendTo, etc. return the inserted elements (thus using ↵John Resig2009-02-181-10/+13
| | | | pushStack, as well). Fixes bugs #3966 and #4182.
* A speedup for .remove() (which also speeds up .html()). Fixes #4178.John Resig2009-02-181-1/+1
|
* Added some extra methods for making result set merging easier.John Resig2009-02-151-1/+3
|
* Added support for sorting in Safari - when querySelectorAll isn't able to be ↵John Resig2009-02-141-2/+4
| | | | used.
* Duplication checks are now handled directly in Sizzle, no need to do extra ↵John Resig2009-02-141-7/+3
| | | | work in .find().
* Added some significant speed-ups to height/width checks, thanks to some code ↵John Resig2009-02-131-7/+13
| | | | and investigation by Mike Helgeson. Fixes #3082.