aboutsummaryrefslogtreecommitdiffstats
path: root/src/manipulation.js
Commit message (Collapse)AuthorAgeFilesLines
* Landing pull request 332. Appending disconnected radio or checkbox inputs ↵timmywil2011-04-211-42/+71
| | | | | | | | | and keeping checked setting Fixes #8060, #8500. More Details: - https://github.com/jquery/jquery/pull/332 - http://bugs.jquery.com/ticket/8060 - http://bugs.jquery.com/ticket/8500
* IE9's support for SVG elements unfortunately does not extend to ↵timmywil2011-04-131-2/+6
| | | | clearAttributes. Checks for its presence before proceeding.
* JSLint failed due to function created within for looptimmywil2011-04-121-3/+6
|
* Merge branch 'master' of https://github.com/rjgotten/jquery into ↵John Resig2011-04-121-1/+6
|\ | | | | | | | | | | | | rjgotten-master. Also added in unit tests covering the case. Fixes #6180. Conflicts: src/manipulation.js
| * Check against the type attribute of script elements retrieved through ↵rjgotten2010-10-171-16/+18
| | | | | | | | | | | | getElementsByTagName() so that only those elements of type "text/javascript" are handled by 'clean'. Fixes #6180: jQuery.clean should not touch script tags that are not of type text/javascript
* | - Added a hook to swap display none for width and height in browsers that do ↵timmywil2011-04-031-1/+2
| | | | | | | | not sufficiently support get/setAttribute
* | Make the new attr/prop changes pass the test suite (in Webkit). There are ↵timmywil2011-04-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | still errors in IE. + Added hooks for selected, checked, readonly, disabled to removeAttr if set to falsey + Removed all attrs from attrFix, these aren't needed for setAttribute + If prop is used for class, do we want a propFix for class? - We could just assume the user should know to use className with prop. I've done the latter for now. + Created tests for $.fn.prop and $.fn.removeProp - Actually all I did was change broken attr tests to prop where it made sense.
* | removing parensJordan Boesch2011-03-141-1/+1
| |
* | bug 6158; fixing replaceWith from throwing errors on non existant elementsJordan Boesch2011-03-051-4/+3
| |
* | bug 6158; fixing replaceWith from throwing errors on empty elementsJordan Boesch2011-03-051-0/+3
| |
* | Make a new jQuery.support.noCloneChecked - splitting apart the previous ↵jeresig2011-02-231-12/+22
| | | | | | | | feature detect relating to clone in IE, fixes the last remaining issue with IE 9 RC. Fixes #8365.
* | Make sure .clone(true) correctly clones namespaced events. Fixes #4537.Anton M2011-02-101-1/+1
| |
* | Fix some whitespace issues. Improve and correct an events test.Anton M2011-02-101-4/+4
| |
* | Fixes #8098. Use the fast document.head when available. Don't set unneeded ↵Mathias Bynens2011-02-021-1/+1
| | | | | | | | "script.type = text/javascript".
* | Fixes #8129. Fix cloning multiple selected options in IE8.rwldrn2011-02-021-2/+2
| |
* | The default for .clone() is to not clone any events. Fixes #8123.jeresig2011-02-011-1/+1
| |
* | Use the original element/fragment as the last item to be appended to the ↵Colin Snover2011-01-281-6/+13
| | | | | | | | document instead of the first in order to prevent missing elements when appending to multiple elements. Fixes #8070.
* | Merge branch '8017lint' of https://github.com/rwldrn/jquery into 8017lintrwldrn2011-01-221-3/+4
| |
* | Cleaned up; fixes per reviewrwldrn2011-01-201-9/+11
| |
* | cloneCopyEvent; jQuery.clone() reviewrwldrn2011-01-201-63/+71
| |
* | Merge in data_nocollide branch. Fixes #6968, improves unit testing framework ↵Colin Snover2011-01-171-13/+20
|\ \ | | | | | | | | | checks for leaky stuff.
| * | Fix domManip leaks the first element when appending elements to multiple ↵Colin Snover2011-01-091-1/+1
| | | | | | | | | | | | other elements.
| * | Change the way jQuery.data works so that there is no longer a chance of ↵Colin Snover2011-01-091-14/+21
| | | | | | | | | | | | collision between user data and internal data. Fixes #6968.
* | | Ensure that buildFragment clones elements properly in all browsers. Fixes ↵Colin Snover2011-01-091-4/+18
| | | | | | | | | | | | #3879, #6655. Also improves form element clone tests and fixes bugs in $.fn.clone exposed by these new test cases related to the values of checkboxes and radio buttons in IE.
* | | Ensure that the DOM element ref in an event handler is removed by cleanData ↵Dave Methvin2011-01-091-0/+5
|/ / | | | | | | to avoid an IE6/7/8 memory leak. Fixes #7054.
* | Don't cache non-html strings in buildFragment to avoid possible collision ↵Dave Methvin2010-12-271-2/+2
| | | | | | | | with the names of Object methods like toString. Also makes the unit tests 0.5% to 8% faster. Fixes #6779.
* | Don't use for-in loops on Arrays. Fixes #7817. Thanks to dmethvin.Colin Snover2010-12-221-2/+2
|\ \ | | | | | | | | | | | | Conflicts: src/manipulation.js
| * | Use a for loop rather than for/in loop when copying events, so that code ↵Dave Methvin2010-12-201-5/+5
| | | | | | | | | | | | will work with an augmented Array.prototype. Fixes 7809.
* | | Remove code for ticket #7717 which has been marked WONTFIX to match existing ↵Colin Snover2010-12-221-1/+1
| | | | | | | | | | | | $.data functionality and to prevent infinite loops caused by circular references.
* | | Fix a potential error in the previous commit caused by the use of a separate ↵Colin Snover2010-12-221-5/+9
| | | | | | | | | | | | index variable. Thanks to dmethvin for the review.
* | | Fix #7717 and #7165. Thanks to dmethvin and iliakan for their help fixing ↵Colin Snover2010-12-191-2/+2
|/ / | | | | | | these issues.
* | Address some code style issues in the clone fix.Colin Snover2010-12-161-4/+2
| |
* | More specific version numbers.Colin Snover2010-12-121-2/+2
| |
* | Speed up & compatibility improvements for new clone mechanism in IE.Colin Snover2010-12-121-20/+52
| |
* | 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.