Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Made a number of spacing changes to bring the code more-inline with the ↵ | jeresig | 2009-12-21 | 1 | -4/+7 | |
| | | | | jQuery Core Style Guideline. | |||||
* | The constructor check for isPlainObject was redundant, everything still ↵ | jeresig | 2009-12-18 | 1 | -1/+1 | |
| | | | | passes without it. | |||||
* | Added additional checks for DOM nodes and window to isPlainObject, IE 8 was ↵ | jeresig | 2009-12-18 | 1 | -1/+2 | |
| | | | | still letting those pass through. Fixes #5669. | |||||
* | Disabled the passthrough .attr(method_name) functionality. You can now use ↵ | jeresig | 2009-12-18 | 1 | -4/+10 | |
| | | | | it if you do: .attr({method_name: value}, true) OR as an easy initialization method: jQuery('<div/>', {html: '...', id: 'test'}). | |||||
* | Made isPlainObject() supporting null, undefined, and window values on IE ↵ | Robert Katic | 2009-12-19 | 1 | -4/+6 | |
| | | | | too. Also added some related tests. Fixes #5669. | |||||
* | Revert the changes from 65ebf57c1e5d7fa96536b66d4fcacbafad8dc1e5, they were ↵ | jeresig | 2009-12-17 | 1 | -7/+2 | |
| | | | | ineffectual against IE's insanity: http://ejohn.org/files/bugs/fragment/ Used a different tactic instead (just don't return a fragment from .parent()). Fixes #5638. | |||||
* | Moved readyList check. | jeresig | 2009-12-16 | 1 | -2/+2 | |
| | ||||||
* | Retooled the arguments.callee-related changes in ↵ | jeresig | 2009-12-16 | 1 | -29/+48 | |
| | | | | 98ce35d52b17a033822f31d8a36232222d0d365e to avoid re-declarations where possible. | |||||
* | Make sure that dynamically-created elements don't have a parent. Fixes #5638. | John Resig | 2009-12-10 | 1 | -2/+7 | |
| | ||||||
* | Moved some methods around inbetween core.js and traversing.js. Core methods ↵ | John Resig | 2009-12-10 | 1 | -19/+29 | |
| | | | | shouldn't rely upon other modules (e.g. the selector engine) wherever possible. | |||||
* | Made some minor formatting changes to the access function. | John Resig | 2009-12-10 | 1 | -10/+9 | |
| | ||||||
* | Rewrote .merge() (faster and less obtuse now). Fixed #5610. | John Resig | 2009-12-09 | 1 | -14/+11 | |
| | ||||||
* | Fix up whitespace and a couple of glitches. | Yehuda Katz | 2009-12-09 | 1 | -3/+3 | |
| | ||||||
* | Switched jQuery() to represent jQuery([]) instead of jQuery(document). | John Resig | 2009-12-09 | 1 | -3/+1 | |
| | ||||||
* | Clarified the use of jQuery.browser and enforced jQuery.browser.firefox ↵ | John Resig | 2009-12-09 | 1 | -4/+3 | |
| | | | | matching Firefox, after the discussion in 17791c9a3e8a88e129a6956e7053b964d7b34778. | |||||
* | Make sure that document ready events, inside a document ready, are added to ↵ | John Resig | 2009-12-09 | 1 | -1/+1 | |
| | | | | the queue rather than executing immediately. Fixes #5261. | |||||
* | Added in jQuery.browser.firefox, deprecated jQuery.browser.mozilla. | John Resig | 2009-12-08 | 1 | -2/+5 | |
| | ||||||
* | Get browser version rather than rendering engine version. | Dave Methvin | 2009-12-09 | 1 | -2/+2 | |
| | | | | | | Don't recognize Chrome as Safari. See results of different userAgent strings here: http://spreadsheets.google.com/ccc?key=0Aj5JJFjq9rZDdHdxXzRLVnY0SzFpRTBOUDc4VmhzRVE | |||||
* | Removed uses of arguments.callee from jQuery. | John Resig | 2009-12-07 | 1 | -7/+9 | |
| | ||||||
* | Moved .ready() to core.js from event.js. | John Resig | 2009-12-07 | 1 | -0/+123 | |
| | ||||||
* | Added an extra function check to prevent crashes in Safari 2. Fixes #3039. | John Resig | 2009-12-06 | 1 | -1/+3 | |
| | ||||||
* | Use the isXML function from Sizzle. | John Resig | 2009-12-06 | 1 | -8/+0 | |
| | ||||||
* | Merge branch 'master' of git@github.com:jquery/jquery | John Resig | 2009-12-06 | 1 | -1/+1 | |
|\ | ||||||
| * | 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 | |
| |