aboutsummaryrefslogtreecommitdiffstats
path: root/src/manipulation.js
Commit message (Collapse)AuthorAgeFilesLines
...
* Make sure that the removeEvent and buildFragment private functions are ↵jeresig2010-09-081-4/+4
| | | | exposed (to help with access across modules). The final API for each of these is very much in flux and will likely change before the final release. Fixes #7011.
* Make sure that jQuery works even when the individual modules are loaded ↵jeresig2010-09-081-1/+5
| | | | separately AND jQuery.noConflict(true) is used. Fixes #7011.
* Made it so that you no longer need to build jQuery in order to run the test ↵jeresig2010-03-231-0/+16
| | | | suite (but you'll still need a checkout of QUnit and Sizzle, at least).
* Make sure that special remove and teardown events get called when .die() is ↵jeresig2010-03-091-1/+1
| | | | used. Additionally made sure that default actions are triggered when namespaced events are used. Fixes #6202 and #6250.
* No need to use .call() anymore since we switched from .apply() for appendTo, ↵jeresig2010-03-051-1/+1
| | | | etc. Thanks to Robert in 2c08004f6d4e7f11a875190e132d204a25cb9418 for the heads-up.
* Attempted to fix #6227, not entirely sure if it's a problem as I'm having a ↵jeresig2010-03-051-1/+1
| | | | hard time reproducing it. Regardless, the change is harmless and potentially even speeds up appendTo, etc. slightly.
* Make sure that we don't try to remove data from an applet. Re-Fixes #1675.jeresig2010-03-021-0/+4
|
* More changes to get jQuery in line with JSLint.jeresig2010-03-011-8/+8
|
* Land some additional tweaks related to running through JSLint.jeresig2010-03-011-1/+1
|
* Found a better detect for deleting an expando, added back in removeAttribute ↵jeresig2010-02-131-1/+4
| | | | as it does work in IE.
* Clean up expando removal code - only try to delete the expando from an ↵jeresig2010-02-131-2/+6
| | | | element if it's possible.
* Make sure that elements that have been removed also have their special ↵jeresig2010-02-131-3/+8
| | | | events cleaned up. Fixes #6084.
* Don't inject style elements using innerHTML as they will go away in IE. ↵jeresig2010-02-131-1/+1
| | | | Fixes #5977.
* Make sure that we don't try to use a detached node (that was in a fragment) ↵jeresig2010-02-131-1/+1
| | | | as a fragment in IE. Fixes #5829.
* Make sure the fragment isn't used if it's not the same set we're working ↵jeresig2010-02-131-5/+9
| | | | with. Fixes #6068.
* Rename internal .getText to maintain parity between it and the primary ↵jeresig2010-02-131-1/+1
| | | | .text(). Fixes #6094.
* Make sure that fragments containing options aren't cached.jeresig2010-02-131-1/+1
|
* Make sure that &#...; entities are encoded properly. Fixes #6042.jeresig2010-02-051-1/+1
|
* Removed extraneous nodeName check from ↵jeresig2010-02-011-1/+1
| | | | f95147f465932cb91e1a6aace50c556820ca4074 commit.
* Only detach the incoming elements to replaceWith if they're DOM nodes. Fixes ↵Noah Sloan2010-02-011-4/+5
| | | | #5986.
* Fix for problem in IE 8 where deserialized (then reserialized) form markup ↵jeresig2010-02-011-1/+3
| | | | was getting malformed. Thanks IE. Fixes #5998.
* Same problem happens with plain embed elements as well. Follow-up fix to #5904.jeresig2010-02-011-4/+4
|
* Make sure that injection of object elements continues to work in IE 6. ↵jeresig2010-02-011-2/+4
| | | | Really hard to unit test this in a meanigful manner (the result is a visually broken plugin). Will need to be diligent about watching for this in the future. Fixes #5094.
* Make sure fragment caching is only happening on nodes in the main document. ↵jeresig2010-01-291-4/+8
| | | | Fixes #5978.
* Skip around inserting a fragment when possible (insert the node directly).jeresig2010-01-281-7/+13
|
* Optimize for the case where a fragment-bound element is being injected into ↵jeresig2010-01-281-11/+18
| | | | one other element.
* Further optimize the empty/remove/cleanData logic.jeresig2010-01-281-35/+52
|
* Make sure that the correct context is being passed in for replaceWith(fn). ↵jeresig2010-01-251-0/+6
| | | | Fixes #5798.
* Make work wrapInner(fn) work consistently. Fixes #5799.jeresig2010-01-251-0/+6
|
* Make sure that checked state is cloned properly. Based upon the patch by ↵Michael Monteleone2010-01-251-3/+12
| | | | Michael, required better test cases and in doing so found more edge cases. Introduced a new check into jQuery.support as a result. Fixes #5929.
* Make sure that XHTML-style HTML is purified in .html(). Fixes #5845.John Resig2010-01-241-1/+3
|
* Expose cleanData, make sure that all bound event handlers are properly ↵jeresig2010-01-231-12/+11
| | | | cleaned up after html/empty/remove. Fixes #5856 and #5906.
* Removed some dead code from buildFragment. Thanks to Sean Catchpole for the ↵John Resig2010-01-151-2/+1
| | | | suggestion.
* Make sure that wrapInner works on elements that have no contents. Fixes #3552.jeresig2010-01-111-1/+8
|
* Final pass at fixing #5785. Need to make sure that inner-nodes are detached ↵jeresig2010-01-111-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.jeresig2010-01-111-1/+1
|
* Make sure that .html(Function) gets the correct previous value.jeresig2010-01-071-0/+8
|
* Fixed some bugs relating to the setter arg change in val and html. Also ↵jeresig2010-01-071-1/+1
| | | | optimized the code in val a bit.
* A first pass at making sure that all the setter function arguments receive ↵jeresig2010-01-061-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 ↵jeresig2009-12-221-1/+1
| | | | attempt.
* Explicitly re-bind the events on clone. Copying over the data isn't enough. ↵jeresig2009-12-221-1/+12
| | | | Fixes #5681.
* Standardize on using double-quotes for string literals.jeresig2009-12-211-1/+1
|
* Made a number of spacing changes to bring the code more-inline with the ↵jeresig2009-12-211-20/+22
| | | | jQuery Core Style Guideline.
* Tweaked a couple cases where == was used instead of ===.jeresig2009-12-211-1/+1
|
* Removed 'abbr' from self-closing tags list. Fixes #5167.jeresig2009-12-171-1/+1
|
* Make sure that the node exists before attempting to clone.jeresig2009-12-171-1/+1
|
* Fix up whitespace and a couple of glitches.Yehuda Katz2009-12-091-5/+5
|
* Add function values to addClass, removeClass, toggleClass, text, and removeAttrYehuda Katz2009-12-091-1/+7
|
* Made .clone(true) also copy over element data. Fixes #4191.John Resig2009-12-091-7/+1
|
* Make sure that events are cloned for wrap, fixes #2977.John Resig2009-12-081-1/+1
|