From 627c573ac62e6582b4b324bcc6a1283ca48c3906 Mon Sep 17 00:00:00 2001 From: Michał Gołębiowski-Owczarek Date: Fri, 5 Feb 2021 22:00:56 +0100 Subject: Build: Rename master to main across the repository The default branch was updated, this updates the remaining occurrences in code & comments. Closes gh-4838 (cherry picked from commit 8ae477a432f0924cd4bd3bdeaef2c4c15e483a8f) --- test/unit/offset.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/unit') diff --git a/test/unit/offset.js b/test/unit/offset.js index 5607ddaf9..814de29a9 100644 --- a/test/unit/offset.js +++ b/test/unit/offset.js @@ -69,7 +69,7 @@ QUnit.test( "disconnected element", function( assert ) { var result = jQuery( document.createElement( "div" ) ).offset(); - // These tests are solely for master/compat consistency + // These tests are solely for main/compat consistency // Retrieving offset on disconnected/hidden elements is not officially // valid input, but will return zeros for back-compat assert.equal( result.top, 0, "Retrieving offset on disconnected elements returns zeros (gh-2310)" ); @@ -86,7 +86,7 @@ QUnit.test( "hidden (display: none) element", function( assert ) { node.remove(); - // These tests are solely for master/compat consistency + // These tests are solely for main/compat consistency // Retrieving offset on disconnected/hidden elements is not officially // valid input, but will return zeros for back-compat assert.equal( result.top, 0, "Retrieving offset on hidden elements returns zeros (gh-2310)" ); @@ -484,7 +484,7 @@ testIframe( "scroll", "offset/scroll.html", function( assert, $, win ) { assert.equal( $( "#scroll-1-1" ).offset().top, 11, "jQuery('#scroll-1-1').offset().top" ); assert.equal( $( "#scroll-1-1" ).offset().left, 11, "jQuery('#scroll-1-1').offset().left" ); - // These tests are solely for master/compat consistency + // These tests are solely for main/compat consistency // Retrieving offset on disconnected/hidden elements is not officially // valid input, but will return zeros for back-compat assert.equal( $( "#hidden" ).offset().top, 0, "Hidden elements do not subtract scroll" ); -- cgit v1.2.3