From daa6fb55b35065c49c0ffc879c94627bbf85404c Mon Sep 17 00:00:00 2001 From: Michał Gołębiowski-Owczarek Date: Fri, 9 Apr 2021 23:36:00 +0200 Subject: All: Drop support for jQueries different than the latest for each major Also, remove the ability to run the test suite in jQuery <1.12.4 & <2.2.4. Closes gh-2249 --- tests/unit/datepicker/events.js | 1 - tests/unit/datepicker/options.js | 2 -- 2 files changed, 3 deletions(-) (limited to 'tests/unit/datepicker') diff --git a/tests/unit/datepicker/events.js b/tests/unit/datepicker/events.js index 50ee07b86..c49e0603c 100644 --- a/tests/unit/datepicker/events.js +++ b/tests/unit/datepicker/events.js @@ -148,7 +148,6 @@ QUnit.test( "beforeShowDay-getDate", function( assert ) { // Contains non-breaking space assert.equal( $( "div.ui-datepicker-title" ).text(), - // Support: IE <9, jQuery <1.8 // In IE7/8 with jQuery <1.8, encoded spaces behave in strange ways $( "January 2010" ).text(), "Initial month" ); $( "a.ui-datepicker-next", dp ).trigger( "click" ); diff --git a/tests/unit/datepicker/options.js b/tests/unit/datepicker/options.js index bf2fccc1f..5d03cd61f 100644 --- a/tests/unit/datepicker/options.js +++ b/tests/unit/datepicker/options.js @@ -246,7 +246,6 @@ QUnit.test( "otherMonths", function( assert ) { inp.val( "06/01/2009" ).datepicker( "show" ); assert.equal( pop.find( "tbody" ).text(), - // Support: IE <9, jQuery <1.8 // In IE7/8 with jQuery <1.8, encoded spaces behave in strange ways $( "\u00a0123456789101112131415161718192021222324252627282930\u00a0\u00a0\u00a0\u00a0" ).text(), "Other months - none" ); @@ -262,7 +261,6 @@ QUnit.test( "otherMonths", function( assert ) { inp.datepicker( "hide" ).datepicker( "option", "showOtherMonths", false ).datepicker( "show" ); assert.equal( pop.find( "tbody" ).text(), - // Support: IE <9, jQuery <1.8 // In IE7/8 with jQuery <1.8, encoded spaces behave in strange ways $( "\u00a0123456789101112131415161718192021222324252627282930\u00a0\u00a0\u00a0\u00a0" ).text(), "Other months - none" ); -- cgit v1.2.3