Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make sure that wrapInner works on elements that have no contents. Fixes #3552. | jeresig | 2010-01-11 | 1 | -1/+8 |
| | |||||
* | Final pass at fixing #5785. Need to make sure that inner-nodes are detached ↵ | jeresig | 2010-01-11 | 1 | -1/+7 |
| | | | | before the remove() occurs (and it should still occur, the nodes are being obliterated. | ||||
* | Make sure we use detach instead of remove in replaceWith. Fixes #5785. | jeresig | 2010-01-11 | 1 | -1/+1 |
| | |||||
* | Make sure that .html(Function) gets the correct previous value. | jeresig | 2010-01-07 | 1 | -0/+8 |
| | |||||
* | Fixed some bugs relating to the setter arg change in val and html. Also ↵ | jeresig | 2010-01-07 | 1 | -1/+1 |
| | | | | optimized the code in val a bit. | ||||
* | A first pass at making sure that all the setter function arguments receive ↵ | jeresig | 2010-01-06 | 1 | -7/+9 |
| | | | | the index of the element and a relevant value to work with. Fixes #5763. | ||||
* | Forgot to make sure that oldData actually had data in it before the copy ↵ | jeresig | 2009-12-22 | 1 | -1/+1 |
| | | | | attempt. | ||||
* | Explicitly re-bind the events on clone. Copying over the data isn't enough. ↵ | jeresig | 2009-12-22 | 1 | -1/+12 |
| | | | | Fixes #5681. | ||||
* | Standardize on using double-quotes for string literals. | jeresig | 2009-12-21 | 1 | -1/+1 |
| | |||||
* | Made a number of spacing changes to bring the code more-inline with the ↵ | jeresig | 2009-12-21 | 1 | -20/+22 |
| | | | | jQuery Core Style Guideline. | ||||
* | Tweaked a couple cases where == was used instead of ===. | jeresig | 2009-12-21 | 1 | -1/+1 |
| | |||||
* | Removed 'abbr' from self-closing tags list. Fixes #5167. | jeresig | 2009-12-17 | 1 | -1/+1 |
| | |||||
* | Make sure that the node exists before attempting to clone. | jeresig | 2009-12-17 | 1 | -1/+1 |
| | |||||
* | Fix up whitespace and a couple of glitches. | Yehuda Katz | 2009-12-09 | 1 | -5/+5 |
| | |||||
* | Add function values to addClass, removeClass, toggleClass, text, and removeAttr | Yehuda Katz | 2009-12-09 | 1 | -1/+7 |
| | |||||
* | Made .clone(true) also copy over element data. Fixes #4191. | John Resig | 2009-12-09 | 1 | -7/+1 |
| | |||||
* | Make sure that events are cloned for wrap, fixes #2977. | John Resig | 2009-12-08 | 1 | -1/+1 |
| | |||||
* | Fixed other nodeNode mistake, sigh. | John Resig | 2009-12-07 | 1 | -1/+1 |
| | |||||
* | Make sure that expando properties aren't set on embed, applet, or object ↵ | John Resig | 2009-12-06 | 1 | -1/+1 |
| | | | | elements. An uncatchable exception is thrown and we must avoid it. Fixes #1675 and #2349. | ||||
* | Use the getText utility function provided by Sizzle. | John Resig | 2009-12-06 | 1 | -14/+1 |
| | |||||
* | Added in support for injecting area elements into map elements. Fixes #4484. | John Resig | 2009-12-06 | 1 | -0/+1 |
| | |||||
* | Fix for #4011, crash when two text nodes are appended in IE. | Dave Methvin | 2009-12-06 | 1 | -2/+3 |
| | |||||
* | Make sure that the previous element is removed from the page before the next ↵ | jeresig | 2009-12-05 | 1 | -1/+11 |
| | | | | is inserted, in replaceWith. Using a variation of the patch by snaury. Fixes #2697. | ||||
* | Extracted the logic for copying events from one jQuery set to another, makes ↵ | jeresig | 2009-12-02 | 1 | -15/+20 |
| | | | | it easier to work with disconnected DOM nodes. | ||||
* | Fixed logic error in html method - support.leadingWhitespace shouldn't have ↵ | jeresig | 2009-12-02 | 1 | -1/+1 |
| | | | | been negated. | ||||
* | Added support for .text() on text nodes. Fixes #5525. | John Resig | 2009-11-17 | 1 | -9/+11 |
| | |||||
* | Fixed the case where HTML that contained entities was being inserted as text ↵ | John Resig | 2009-11-11 | 1 | -1/+1 |
| | | | | strings instead of HTML. Thanks to dmethvin for the test case! Fixes #5483. | ||||
* | 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. | ||||
* | Fixed the cleaning method to support namespaced elements. Thanks to einaros ↵ | John Resig | 2009-10-12 | 1 | -2/+2 |
| | | | | for the patch recommendation. Fixes #5358. | ||||
* | Adding in .unwrap() support, thanks to Ben Alman! Fixes #5191. | John Resig | 2009-09-25 | 1 | -0/+8 |
| | |||||
* | A follow-up to [6578] (which stopped adding expandos to elements that didn't ↵ | John Resig | 2009-09-25 | 1 | -10/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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) | ||||
* | Adding some fixes for commit [6537]. If there's leading whitespace, or if an ↵ | John Resig | 2009-09-15 | 1 | -6/+12 |
| | | | | exception is thrown by innerHTML, we need to use the old style method. | ||||
* | Fix for SVN rev [6537]. Events weren't being unbound correctly in Internet ↵ | John Resig | 2009-09-15 | 1 | -3/+2 |
| | | | | Explorer (cleanData wasn't handling malformed NodeList results correctly). | ||||
* | Another fix for [6537] - make sure that .innerHTML isn't used on non-HTML ↵ | John Resig | 2009-09-14 | 1 | -2/+2 |
| | | | | documents and that we only attempt to use .innerHTML on DOM Elements. | ||||
* | Fixed a bug introduced in SVN rev [6537] that caused XML-based fragment ↵ | John Resig | 2009-09-14 | 1 | -2/+6 |
| | | | | creation to fail, in IE. | ||||
* | Added support for .before(), .after(), and .replaceWith() on disconnected ↵ | John Resig | 2009-09-14 | 1 | -7/+25 |
| | | | | DOM nodes. Fixes bug #3940. | ||||
* | jquery core: Fixed #5202. Fixing selector generation when a manipulation ↵ | Ariel Flesler | 2009-09-14 | 1 | -2/+1 |
| | | | | function receives a jQuery object. | ||||
* | Broke the logic for .clean() wrap out into a separate, static, data ↵ | John Resig | 2009-09-07 | 1 | -37/+48 |
| | | | | structure. Also improved the performance of .html() looking for the case where .innerHTML can be used without problems. Also tweaked some cases where cleanData() was used, no need to use jQuery selectors in these cases. | ||||
* | Split out the fragment-building code from domManip. Switched core.js to ↵ | John Resig | 2009-09-07 | 1 | -39/+40 |
| | | | | using that instead. Also moved the standalone tag detection to $(...) for performance. | ||||
* | Tweaked the detach addition in commit [6474]. | John Resig | 2009-07-21 | 1 | -5/+7 |
| | |||||
* | Adds detach() | Yehuda Katz | 2009-07-21 | 1 | -7/+10 |
| | |||||
* | Removing extraneous closing ). Fix for [6463]. | John Resig | 2009-07-19 | 1 | -1/+1 |
| | |||||
* | Move cases of .replace(re, Function) out from inline (to avoid being ↵ | John Resig | 2009-07-19 | 1 | -6/+7 |
| | | | | redeclared on every use). Fixes #4114. | ||||
* | Fixed typo in commit #6461. | John Resig | 2009-07-19 | 1 | -2/+2 |
| | |||||
* | Made more formatting changes to manipulation.js. Also moved all inline ↵ | John Resig | 2009-07-19 | 1 | -14/+27 |
| | | | | RegExp into a top declaration. | ||||
* | Tweaked formatting of src/manipulation.js. | John Resig | 2009-07-19 | 1 | -28/+40 |
| | |||||
* | Standardizing on .test() and .exec() - moving away from using .match() for ↵ | John Resig | 2009-07-19 | 1 | -3/+3 |
| | | | | RegExp. Fixes jQuery bug #4113. | ||||
* | We only support wrapping the first element around an element (all others are ↵ | John Resig | 2009-07-14 | 1 | -1/+1 |
| | | | | ignored). Fixes ticket #4903. | ||||
* | Fixed wrapping of elements that hold text nodes. Thanks to David Flanagan ↵ | John Resig | 2009-07-14 | 1 | -1/+1 |
| | | | | for the patch. Fixes #4902. | ||||
* | Add tests for replaceAll(fn) and wrap(fn) -- mark wrapAll and wrapWithin as TODO | Yehuda Katz | 2009-07-12 | 1 | -0/+4 |
| |