aboutsummaryrefslogtreecommitdiffstats
path: root/src/manipulation.js
Commit message (Collapse)AuthorAgeFilesLines
* Manipulation: re-expose domManip until 3.0Timmy Willison2016-01-081-0/+4
| | | | Fixes gh-2225
* Revert "Misc: Drop support for older browsers; update support comments"Timmy Willison2016-01-061-11/+32
| | | | This reverts commit 90d7cc1d8b2ea7ac75f0eacb42439349c9c73278.
* Build: code style fixes after all those revertsOleg Gaidarenko2015-12-221-2/+2
|
* Revert "Manipulation: don't auto-insert tbody"Oleg Gaidarenko2015-12-221-6/+5
| | | | This reverts commit 939e755163c9c9749fdd39ae9e60de7cb41eeb2c.
* Manipulation: Switch rnoInnerhtml to a version more performant in IESean Henderson2015-09-081-1/+5
| | | | | | | | | | | | | | IE versions greater than 9 do not handle the old regular expression well with large html content. This is due to the use of a non-capturing group after a very common html character (<). Test suite: http://jsfiddle.net/Lwa0t5rp/3/ Microsoft bug: https://connect.microsoft.com/IE/feedback/details/1736512/ (cherry-picked from d4def22e4cd1c2eb2571f449e226b38384fb6d81) Fixes gh-2563 Closes gh-2574
* Data: Don't expose jQuery.acceptDataJason Bedard2015-09-081-4/+4
| | | | | | | | jQuery.acceptData is an undocumented internal API that shouldn't be exposed. (cherry-picked from 224271982eb9cd351d7db1b38c740b4e927e6f97) Fixes gh-2555
* Build: Update jscs and lint filesOleg Gaidarenko2015-09-071-40/+46
| | | | | Ref 10fdad742a2a6aa9f0e00b3e04fc5264797c53c7 Fixes gh-2056
* Core: Support non-browser environmentsMichał Gołębiowski2015-08-161-1/+2
| | | | | | | | | | | | Fixes gh-2133 Fixes gh-2501 Closes gh-2504 Refs gh-1950 Refs gh-1949 Refs gh-2397 Refs gh-1537 Refs gh-2504 Refs 842958e7aecd0d75a7ee9e2aaec83457701aa2f3
* Manipulation: Remove an internal argument to the remove methodMichał Gołębiowski2015-06-141-26/+30
| | | | | | | (cherry-picked from 349edbd6c53aa93d4fd207d3c0c4c24a7b0314dd) Fixes gh-2301 Closes gh-2366
* Manipulation: privatize internal domManip() functionTimmy Willison2015-05-051-101/+100
| | | | Fixes gh-2225
* Manipulation: privatize buildFragment() functionTimmy Willison2015-05-051-196/+17
| | | | Fixes gh-2224
* Manipulation: Make an HTML interception pointRichard Gibson2015-04-301-3/+6
| | | | | | | | | | | Fixes gh-1747 Closes gh-2203 (cherry picked from commit 225bde37c997f5ddd9fe00fdfb8e9a43545cfbbc) Conflicts: src/manipulation.js test/unit/manipulation.js
* Manipulation: Detect sneaky no-content replaceWith inputRichard Gibson2015-04-301-19/+21
| | | | | | | | | | | | | Fixes gh-2204 Ref 642e9a45579cfa90861b8ea71a95dd077775caaf Closes gh-1752 Closes gh-2206 (cherry picked from commit 4b27ae16a2b911f75b341b56d9d939bc65a9657a) Conflicts: src/manipulation.js test/unit/manipulation.js
* Manipulation: don't auto-insert tbodyOleg Gaidarenko2015-02-111-5/+6
| | | | | | Fixes gh-1835 Closes gh-2021 Ref e984d1c79cc476062818e03df04a366baa13d197
* Manipulation: simplify html wrappersOleg Gaidarenko2015-02-111-3/+14
| | | | | | | | | | Take advantage of html serialization for html wrappers - saves 26 bytes Plus add additional test for "col" element (cherry-picked from 0ea342a6a6dce793c1b0f14f051c2573f40f4e44) Closes gh-2031 Fixes gh-2002
* Manipulation: simplification of manipulation wrappersOleg Gaidarenko2015-02-101-2/+3
| | | | | | | | Since support for IE6-7 was dropped these wrappers no longer required Ref 90d7cc1d8b2ea7ac75f0eacb42439349c9c73278 Ref gh-2002 Closes gh-2032
* Manipulation: add support to tag-hyphenated elementsLeonardo Braga2015-01-131-2/+2
| | | | | Ref #1987 Ref 85ffc6d973865a031ded170934e0acfc2e97cb11
* Core: Standardize indexOf comparisonsRichard Gibson2015-01-101-1/+1
| | | | | | | | | | not present: `< 0` present: `> -1` at index: `=== N` (cherry picked from commit 53aa87f3bf4284763405f3eb8affff296e55ba4f) Closes gh-1985
* Data: use removeAttribute in cleanData to bypass Chrome bugJason Bedard2014-12-101-9/+10
| | | | | | | Related: https://code.google.com/p/chromium/issues/detail?id=378607 Fixes gh-1664
* Misc: Drop support for older browsers; update support commentsMichał Gołębiowski2014-12-081-69/+15
| | | | | | | | | | That includes IE<8, Opera 12.x, Firefox<29, Safari<6.0 and some hacks for old Blackberry. Fixes gh-1836 Fixes gh-1701 Refs gh-1815 Refs gh-1820
* Manipulation: Update html5shiv elementsAlexander Farkas2014-09-131-3/+3
| | | | | | | Include main, dialog, picture and template in html5shiv elements. Fixes #15241 Closes gh-1655
* Core: Drop strundefined variableChris Antaki2014-09-021-5/+4
| | | | | Ref 29838b6cab6f2e508f3e9692f32918c72b1a504b Closes gh-1628
* Build: update grunt-jscs-checker and pass with the new rulesTimmy Willison2014-07-171-12/+30
| | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: build/tasks/build.js src/ajax/xhr.js src/attributes/classes.js src/attributes/prop.js src/attributes/val.js src/core/init.js src/core/ready.js src/css.js src/css/curCSS.js src/css/defaultDisplay.js src/data.js src/data/var/dataPriv.js src/data/var/dataUser.js src/dimensions.js src/effects.js src/event.js src/manipulation.js src/offset.js src/queue.js src/selector-native.js test/data/testrunner.js
* Fix some code style inconsistenciesOleg2013-11-071-3/+3
|
* Fixes #14450. Remove CommonJS+AMD syntax.Timmy Willison2013-10-151-22/+17
| | | | | | | | | | | | - To keep file size unaffected, an extra pragma was added to build.js to remove certain lines when building with special comments. Conflicts: src/core.js src/css.js src/effects.js src/event.js src/manipulation.js src/offset.js
* Fix #14290. Don't throw if text node is appended to table. Close gh-1371.Dave Methvin2013-09-191-1/+1
| | | | (cherry picked from commit ec3ac9a247ec3132dea3c30ca36cefc217e25441)
* Simplify replaceWith method. Closes gh-1276Oleg2013-09-171-21/+11
| | | | (cherry picked from commit 642e9a45579cfa90861b8ea71a95dd077775caaf)
* Fix support test for checkClone. Fixes Safari 5.1 manip failures.Timmy Willison2013-09-111-1/+3
| | | | | Conflicts: src/manipulation.js
* Separate jQuery.fn.init into its own module (for lighter core dependencies ↵Timmy Willison2013-09-091-6/+6
| | | | | | | | | | across all modules). Restore proper support property for effects. Conflicts: src/attributes/classes.js src/core.js src/manipulation.js src/traversing.js
* Apply consistent ordering in all modules. -219 bytes. Order modules like ↵Timmy Willison2013-09-091-307/+308
| | | | functions > jQuery.extend > jQuery.fn.extend.
* Break jQuery.access out into its own module to separate it from core; Adjust ↵Timmy Willison2013-09-091-17/+24
| | | | | | | | | | | | | CommonJS+AMD build support to include non-var dependencies. Convert modules with more than a few dependencies to use CJS+AMD syntax. Conflicts: src/core.js src/css.js src/data.js src/effects.js src/event.js src/manipulation.js src/traversing.js
* Always return jQuery in modules that can be included separatelyTimmy Willison2013-09-081-1/+1
| | | | | | | Conflicts: src/attributes.js src/data.js src/manipulation.js
* Fix #10814. Fix #14084. Make support tests lazy and broken out to components.Michał Gołębiowski2013-09-061-15/+15
|
* Don't execute DOM ready tests in AMD mode (they aren't loaded before DOM ↵Oleg Gaidarenko2013-08-161-1/+2
| | | | ready). Close gh-1335.
* Specify support as a dependency wherever it is used. Optimize module order ↵Timmy Willison2013-08-151-1/+2
| | | | | | | | | | to save 15 bytes. Conflicts: src/css.js src/manipulation.js src/offset.js src/support.js
* AMD-ify jQuery sourcegit s! Woo! Fixes #14113, #14163.Timmy Willison2013-08-151-25/+28
| | | | | | | | | | | | | | | | | | | | Conflicts: Gruntfile.js README.md src/ajax.js src/ajax/xhr.js src/attributes.js src/core.js src/css.js src/data.js src/effects.js src/event.js src/manipulation.js src/offset.js src/selector-native.js src/traversing.js test/unit/core.js test/unit/data.js
* Fix #13803: domManip remote-script evaluation per 1.9 (AJAX dataType "script")Richard Gibson2013-04-291-2/+2
| | | | (cherry picked from commit 18cccd04a6f69018242bce96ef905bc5d3be6ff8)
* Fix #13810: .replaceWith(nextSibling)Richard Gibson2013-04-221-0/+4
| | | | (cherry picked from commit d8f7e8371230a6dd504ca02e65442745b6ff6ce2)
* Fix failing test in manipulation. Empty string values are acceptable.Timmy Willison2013-04-181-1/+1
|
* Remove usage of the deprecated getAttributeNode() unless a support test ↵Timmy Willison2013-04-181-2/+1
| | | | warrants it. Fixes #12072.
* Fix #13741. Make wrap/unwrap methods optional; close gh-1236.Michał Gołębiowski2013-04-171-65/+0
| | | | | | | move size() test to unit/deprecated; don't use size() in other tests; make 2 unit tests actually fire; code cleanup
* Fix #12838: hook point for non-jQuery.ajax synchronous script fetch/execute ↵Richard Gibson2013-04-171-8/+12
| | | | | | in domManip. Close gh-1051. (cherry picked from commit 03db1ada2cc223edf545c5a452e55062647837fa)
* Fixes #13779. Remove nodes in document orderRick Waldron2013-04-161-3/+2
| | | | Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
* Fix #13596; #13722: .replaceWith consistency. Close gh-1216.Richard Gibson2013-04-161-37/+41
|
* Fix indentation issue with last cherry-pick.Dave Methvin2013-04-061-8/+8
|
* Fix #13721. Filter before .remove() loop so positionals work. Close gh-1221.Dave Methvin2013-04-061-4/+5
| | | | (Cherry picked from 1b610266502490eab42a0b9ddfac2f93da0b0fe1)
* Fix #13401: replaceWith(""). Close gh-1163.Mark Raddatz2013-02-081-9/+11
| | | | (cherry picked from commit 6a0ee2d9ed34b81d4ad0662423bf815a3110990f)
* Fix #13355. Tweak Uglify options and var order for gzip. Close gh-1151.Oleg2013-01-311-5/+7
| | | | | Change uglify-js options for compressor Change variables initialization sequence for some declarations
* Change variables initialization sequence for some declarationsOleg2013-01-311-4/+4
|
* Fix #13315: compare typeof node.method to var instead of literal "undefined" ↵Richard Gibson2013-01-241-3/+3
| | | | for safer uglification