Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Fix regexp for $.trim so it doesn't whack embedded spaces. | Dave Methvin | 2009-12-06 | 1 | -1/+1 | |
| | | ||||||
* | | Renamed isObjectLiteral to isPlainObject (makes more sense, per the ↵ | John Resig | 2009-12-06 | 1 | -3/+3 | |
|/ | | | | suggestion of Michael Geary). | |||||
* | Landing Ben Alman's patch to add nextUntil, prevUntil, and parentsUntil. ↵ | Ben Alman | 2009-12-04 | 1 | -2/+3 | |
| | | | | Also adds some tests for prevAll and nextAll, and fixes an test edge case in parents. | |||||
* | Make sure that a DOM node isn't getting passed through (as is the case in ↵ | jeresig | 2009-12-02 | 1 | -1/+1 | |
| | | | | IE, it has a toString of [object Object]. | |||||
* | Merge branch 'master' of github.com:jquery/jquery | jeresig | 2009-11-30 | 1 | -1/+1 | |
|\ | ||||||
| * | Fixes $.trim for closes #4980 | Yehuda Katz | 2009-11-30 | 1 | -1/+1 | |
| | | ||||||
* | | Fixed bug with singleTag matching in core.js. | jeresig | 2009-11-30 | 1 | -1/+1 | |
|/ | ||||||
* | Generic jQuery.merge and safer jQuery.makeArray(nodeList). | Robert Katic | 2009-11-26 | 1 | -17/+23 | |
| | | | | | | | | * Made jQuery.marge more generic supporting null and undefined values, and supporting array like objects as results. Fixes #5527. * Made jQuery.makeArray(nodeList) more safer using jQuery.merge internally. Fixes #5528. * Added a second "results" argument to jQuery.makeArray for internal usage to avoid intermediary arrays in init. | |||||
* | Made jQuery.extend(true, ...) to extend recursively only 'object literal' ↵ | Robert Katic | 2009-11-12 | 1 | -13/+4 | |
| | | | | values. | |||||
* | Made isObjectLiteral to work correctly with custom objects with empty ↵ | Robert Katic | 2009-11-12 | 1 | -2/+9 | |
| | | | | prototypes. | |||||
* | Use array.indexOf if available (speeds up modern browsers). Thanks to lrbabe ↵ | lrbabe | 2009-11-11 | 1 | -0/+4 | |
| | | | | and Andrea for the patch. Fixes #5160. | |||||
* | Made jQuery('<div/>') and jQuery('<div></div>') use the same code path ↵ | John Resig | 2009-11-11 | 1 | -1/+1 | |
| | | | | (making the second one faster). Fixes #5293. | |||||
* | Removed the use of this.length++ as it makes it hard to use the init method ↵ | John Resig | 2009-11-11 | 1 | -2/+2 | |
| | | | | directly. Fixes #4955. | |||||
* | Renamed isObject to isObjectLiteral to be more specific. | John Resig | 2009-11-10 | 1 | -2/+2 | |
| | ||||||
* | Added comments to isObject. | rkatic | 2009-11-09 | 1 | -1/+12 | |
| | ||||||
* | Comment nodes are discarded from a merge, for no apparent reason. Fixes #5438. | John Resig | 2009-11-07 | 1 | -13/+2 | |
| | ||||||
* | Moved a bunch of methods out of the jQuery-specific Sizzle code into ↵ | John Resig | 2009-10-26 | 1 | -1/+1 | |
| | | | | more-appropriate files, in jQuery itself. | |||||
* | A follow-up to [6578] (which stopped adding expandos to elements that didn't ↵ | John Resig | 2009-09-25 | 1 | -19/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | have data). That broke jQuery.unique() (so we're now using the unique from Sizzle). Using Sizzle's unique (which also sorts in document order) changed how add, andSelf, parents, nextAll, prevAll, and siblings work. after and before were changed to not use .add() (in order to guarantee their position in the jQuery set). Also, jQuery.data(elem) was updated to return that element's data object (instead of its ID). $("<div/>").after("<span/>") => [ div, span ] (calling after on a disconnected DOM node adds the nodes to the end of the jQuery set) $("<div/>").before("<span/>") => [ span, div ] (calling before on a disconnected DOM node adds the nodes to the beginning of the jQuery set) $("div").add("span") => [ div, span, span, div, span ] (results now come out in document order) $("div").find("code").andSelf(); => [ div, code, code ] (results now come out in document order) Same goes for .parents(), .nextAll(), .prevAll(), and .siblings(). Exception: .parents() will still return the results in reverse document order. jQuery.data(elem) => { object of data } (no longer returns the unique ID assigned to the node) | |||||
* | jquery core: removing the body optimization, as it is then handled by $("TAG"). | Ariel Flesler | 2009-09-14 | 1 | -5/+0 | |
| | ||||||
* | jquery core: commenting the new access function. | Ariel Flesler | 2009-09-11 | 1 | -0/+6 | |
| | ||||||
* | jquery core: Closes #5189. Added a generic function to handle ↵ | Ariel Flesler | 2009-09-09 | 1 | -0/+24 | |
| | | | | getting/setting key-value/setting a hash. | |||||
* | jquery core: fixes 5187. getElementsByTagName optimization was breaking ↵ | Ariel Flesler | 2009-09-09 | 1 | -0/+1 | |
| | | | | $('div').live() | |||||
* | jquery core: closes #5186. getElementsByTagName optimization was breaking ↵ | Ariel Flesler | 2009-09-09 | 1 | -2/+2 | |
| | | | | the selector attribute. | |||||
* | Optimize jQuery() for the case $("TAG"). | John Resig | 2009-09-08 | 1 | -0/+4 | |
| | ||||||
* | Use the native Array indexOf method if it exists, for jQuery.inArray. | John Resig | 2009-09-08 | 1 | -1/+8 | |
| | ||||||
* | Split out the fragment-building code from domManip. Switched core.js to ↵ | John Resig | 2009-09-07 | 1 | -2/+17 | |
| | | | | using that instead. Also moved the standalone tag detection to $(...) for performance. | |||||
* | Added an optimization for the case where $("body") is used. | John Resig | 2009-09-07 | 1 | -0/+5 | |
| | ||||||
* | Fixed a bug with the isXMLDoc test - also made sure that isXMLDoc was ↵ | John Resig | 2009-08-27 | 1 | -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 Resig | 2009-08-27 | 1 | -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 Resig | 2009-08-10 | 1 | -3/+0 | |
| | | | | (helps some compatibility cases with older version of Prototype). Fixes ticket #4834. | |||||
* | Fix some missing braces in core.js. | John Resig | 2009-07-27 | 1 | -2/+6 | |
| | ||||||
* | Added an improvement to quickExpr and some more tests for jQuery('html'). ↵ | John Resig | 2009-07-27 | 1 | -3/+3 | |
| | | | | Fixes #4979. | |||||
* | Shortened the isXMLDoc code, based upon recommendation from Andrea. | John Resig | 2009-07-27 | 1 | -2/+1 | |
| | ||||||
* | Added an extra documentElement check to isXMLDoc for IE - and added a number ↵ | John Resig | 2009-07-27 | 1 | -1/+4 | |
| | | | | of unit tests for isXMLDoc. Fixes #4833. | |||||
* | Changed .get(-Number) to use .slice() instead of .toArray() (which doesn't ↵ | John Resig | 2009-07-23 | 1 | -1/+1 | |
| | | | | take any arguments). Follow-up from commit [6484]. | |||||
* | Make sure that at least one argument is provided to .slice(), in accordance ↵ | John Resig | 2009-07-23 | 1 | -1/+3 | |
| | | | | with the spec. Fixes jQuery bug #4942. | |||||
* | Optimizing isXMLDoc. | John Resig | 2009-07-22 | 1 | -2/+1 | |
| | ||||||
* | Made some syntax tweaks to core.js. | John Resig | 2009-07-19 | 1 | -5/+12 | |
| | ||||||
* | Saved some references to native methods, instead of re-referencing them on ↵ | John Resig | 2009-07-19 | 1 | -5/+7 | |
| | | | | every call. | |||||
* | Moved some RegExp in core.js, goes toward #4111. | John Resig | 2009-07-19 | 1 | -2/+8 | |
| | ||||||
* | Standardizing on .test() and .exec() - moving away from using .match() for ↵ | John Resig | 2009-07-19 | 1 | -1/+1 | |
| | | | | RegExp. Fixes jQuery bug #4113. | |||||
* | Add test for jQuery(jQueryObj) cloning and simplify new get() code | Yehuda Katz | 2009-07-17 | 1 | -3/+2 | |
| | ||||||
* | jQuery objects have a default length of 0. Simplifies $() some. | Yehuda Katz | 2009-07-17 | 1 | -13/+12 | |
| | ||||||
* | jquery core: Simplifying isEmptyObject() and adding tests. | Ariel Flesler | 2009-07-16 | 1 | -3/+3 | |
| | ||||||
* | Refactor jQuery.data a bit to reduce property lookups | Yehuda Katz | 2009-07-16 | 1 | -0/+6 | |
| | | | | - Also added jQuery.isEmptyObject | |||||
* | jQuery.extend(true, Object, Object) copies custom objects correctly. | Yehuda Katz | 2009-07-16 | 1 | -3/+13 | |
| | | | | - Also update jQuery.isObject to handle this case correctly | |||||
* | jQuery.extend(true, Object, Object) copies objects with length keys correctly | Yehuda Katz | 2009-07-16 | 1 | -1/+1 | |
| | ||||||
* | Add support for .get(-Number) Closes #4188 | Yehuda Katz | 2009-07-16 | 1 | -2/+2 | |
| | ||||||
* | Make toArray an alias for .get(). Closes #3999 | Yehuda Katz | 2009-07-16 | 1 | -1/+3 | |
| | ||||||
* | Scope 'document' locally (also useful for sandboxing). Patch from Andrea ↵ | John Resig | 2009-07-15 | 1 | -0/+3 | |
| | | | | Giammarchi. Fixes bug #4905. |