aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2022-10-10 18:15:34 +0200
committerGitHub <noreply@github.com>2022-10-10 18:15:34 +0200
commitee6e874075ba1fcd8f9e62cd1ee5c04f6518b6d6 (patch)
treeda232f737c7d41c2c200088fddc3284427bc6ed7 /test
parentaa231cd21421503d319ad6068e7df0fb3baa7fea (diff)
downloadjquery-ee6e874075ba1fcd8f9e62cd1ee5c04f6518b6d6.tar.gz
jquery-ee6e874075ba1fcd8f9e62cd1ee5c04f6518b6d6.zip
Manipulation: Extract domManip to a separate file
We've already had `buildFragment` extracted to a separate file long ago. `domManip` is quite a complex & crucial API and so far it has existed within the `manipulation.js` module. Extracting it makes the module shorter and easier to understand. A few comments / messages in tests have also been updated to not suggest there's a public `jQuery.domManip` API - it's been private since 3.0.0. Closes gh-5138
Diffstat (limited to 'test')
-rw-r--r--test/unit/ajax.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/unit/ajax.js b/test/unit/ajax.js
index e4d0efca5..05dd7d36c 100644
--- a/test/unit/ajax.js
+++ b/test/unit/ajax.js
@@ -2502,9 +2502,9 @@ if ( typeof window.ArrayBuffer === "undefined" || typeof new XMLHttpRequest().re
} );
} );
-//----------- jQuery.domManip()
+//----------- domManip()
- QUnit.test( "trac-11264 - jQuery.domManip() - no side effect because of ajaxSetup or global events", function( assert ) {
+ QUnit.test( "trac-11264 - domManip() - no side effect because of ajaxSetup or global events", function( assert ) {
assert.expect( 1 );
jQuery.ajaxSetup( {
@@ -2558,7 +2558,7 @@ if ( typeof window.ArrayBuffer === "undefined" || typeof new XMLHttpRequest().re
);
QUnit.test(
- "trac-11402 - jQuery.domManip() - script in comments are properly evaluated",
+ "trac-11402 - domManip() - script in comments are properly evaluated",
function( assert ) {
assert.expect( 2 );
jQuery( "#qunit-fixture" ).load( baseURL + "cleanScript.html", assert.async() );