mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Core: Deprecate jQuery.isWindow
Fixes gh-3629 Close gh-3702
This commit is contained in:
committed by
Timmy Willison
parent
490db839fb
commit
c18d608537
@@ -76,7 +76,7 @@ QUnit.test( "show/hide", function( assert ) {
|
||||
}
|
||||
|
||||
QUnit.test( "core", function( assert ) {
|
||||
assert.expect( 27 );
|
||||
assert.expect( 25 );
|
||||
|
||||
var elem = jQuery( "<div></div><span></span>" );
|
||||
|
||||
@@ -100,9 +100,6 @@ QUnit.test( "core", function( assert ) {
|
||||
"<?xml version='1.0' encoding='UTF-8'?><foo bar='baz'></foo>"
|
||||
) ), "jQuery.isXMLDoc" );
|
||||
|
||||
assert.ok( jQuery.isWindow( window ), "jQuery.isWindow(window)" );
|
||||
assert.ok( !jQuery.isWindow( 2 ), "jQuery.isWindow(Number)" );
|
||||
|
||||
assert.strictEqual( jQuery.inArray( 3, [ "a", 6, false, 3, {} ] ), 3, "jQuery.inArray - true" );
|
||||
assert.strictEqual(
|
||||
jQuery.inArray( 3, [ "a", 6, false, "3", {} ] ),
|
||||
|
||||
Reference in New Issue
Block a user