mirror of
https://github.com/jquery/jquery.git
synced 2026-01-10 13:38:08 -05:00
Docs: Update most URLs to HTTPS
Closes gh-4511
This commit is contained in:
committed by
GitHub
parent
6eee5f7f18
commit
f09d92100f
@@ -244,7 +244,7 @@ function testAppend( valueObj, assert ) {
|
||||
jQuery( "<fieldset/>" ).appendTo( "#form" ).append( valueObj( "<legend id='legend'>test</legend>" ) );
|
||||
assert.t( "Append legend", "#legend", [ "legend" ] );
|
||||
|
||||
$map = jQuery( "<map/>" ).append( valueObj( "<area id='map01' shape='rect' coords='50,50,150,150' href='http://www.jquery.com/' alt='jQuery'>" ) );
|
||||
$map = jQuery( "<map/>" ).append( valueObj( "<area id='map01' shape='rect' coords='50,50,150,150' href='https://www.jquery.com/' alt='jQuery'>" ) );
|
||||
|
||||
assert.equal( $map[ 0 ].childNodes.length, 1, "The area was inserted." );
|
||||
assert.equal( $map[ 0 ].firstChild.nodeName.toLowerCase(), "area", "The area was inserted." );
|
||||
@@ -1474,7 +1474,7 @@ QUnit.test( "clone()", function( assert ) {
|
||||
div.remove();
|
||||
|
||||
// Test both html() and clone() for <embed> and <object> types
|
||||
div = jQuery( "<div/>" ).html( "<embed height='355' width='425' src='http://www.youtube.com/v/3KANI2dpXLw&hl=en'></embed>" );
|
||||
div = jQuery( "<div/>" ).html( "<embed height='355' width='425' src='https://www.youtube.com/v/3KANI2dpXLw&hl=en'></embed>" );
|
||||
|
||||
clone = div.clone( true );
|
||||
assert.equal( clone.length, 1, "One element cloned" );
|
||||
@@ -1484,7 +1484,7 @@ QUnit.test( "clone()", function( assert ) {
|
||||
// this is technically an invalid object, but because of the special
|
||||
// classid instantiation it is the only kind that IE has trouble with,
|
||||
// so let's test with it too.
|
||||
div = jQuery( "<div/>" ).html( "<object height='355' width='425' classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'> <param name='movie' value='http://www.youtube.com/v/3KANI2dpXLw&hl=en'> <param name='wmode' value='transparent'> </object>" );
|
||||
div = jQuery( "<div/>" ).html( "<object height='355' width='425' classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'> <param name='movie' value='https://www.youtube.com/v/3KANI2dpXLw&hl=en'> <param name='wmode' value='transparent'> </object>" );
|
||||
|
||||
clone = div.clone( true );
|
||||
assert.equal( clone.length, 1, "One element cloned" );
|
||||
@@ -1511,7 +1511,7 @@ QUnit.test( "clone()", function( assert ) {
|
||||
} )();
|
||||
|
||||
// and here's a valid one.
|
||||
div = jQuery( "<div/>" ).html( "<object height='355' width='425' type='application/x-shockwave-flash' data='http://www.youtube.com/v/3KANI2dpXLw&hl=en'> <param name='movie' value='http://www.youtube.com/v/3KANI2dpXLw&hl=en'> <param name='wmode' value='transparent'> </object>" );
|
||||
div = jQuery( "<div/>" ).html( "<object height='355' width='425' type='application/x-shockwave-flash' data='https://www.youtube.com/v/3KANI2dpXLw&hl=en'> <param name='movie' value='https://www.youtube.com/v/3KANI2dpXLw&hl=en'> <param name='wmode' value='transparent'> </object>" );
|
||||
|
||||
clone = div.clone( true );
|
||||
assert.equal( clone.length, 1, "One element cloned" );
|
||||
|
||||
Reference in New Issue
Block a user