aboutsummaryrefslogtreecommitdiffstats
path: root/src/manipulation.js
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge branch 'bug5566' into csnover-bug5566. Fixes #4386, #5566, #6997.Colin Snover2010-12-121-43/+46
|\ \ | | | | | | | | | | | | | | | Conflicts: src/manipulation.js test/unit/manipulation.js
| * | Fix the clone method to be a little less insane in IE, which fixes the new ↵Colin Snover2010-12-121-25/+31
| | | | | | | | | | | | event-cloning clone() as well as probably a bunch of IE-related clone bugs.
* | | Backing out cec68e2b00d86357c18b576cbaed52cc1ea42a74, was causing serialize ↵jeresig2010-12-091-16/+16
| | | | | | | | | | | | tests to fail. Un-fixes #5566.
* | | Merge branch 'bug5566' of https://github.com/csnover/jquery into csnover-bug5566jeresig2010-12-091-16/+16
|\| |
| * | Clone fragments in domManip using jQuery.clone instead of ↵Colin Snover2010-12-061-1/+1
| | | | | | | | | | | | DocumentFragment.cloneNode in order to carry over event data. Fixes #5566, #6997.
| * | Clean up empty lines with whitespace in manipulation.jsColin Snover2010-12-061-15/+15
| | |
* | | Make sure IE clones body elements correctly. Fixes 4386.Anton M2010-11-211-1/+4
|/ /
* | Make sure that when multiple variables are being declared that assignments ↵John Resig2010-11-091-10/+21
| | | | | | | | are each done on their own line.
* | We don't do end of line comments, move them above.John Resig2010-11-091-1/+2
|/
* Make sure that the contents of the element is still in place when ↵John Resig2010-09-281-4/+2
| | | | html(Function) is called. Fixes #6733.
* Applied the RegExp issues reported by Jeff Robinson here: ↵jeresig2010-09-221-11/+6
| | | | http://jmrware.com/articles/2010/jqueryregex/jQueryRegexes.html Additionally broke out all remaining inline RegExp. Fixes #7062.
* 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.