File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1278,10 +1278,10 @@ QUnit.test( "Do not append px to most properties not accepting integer values",
12781278 assert . equal ( $div . css ( "letter-spacing" ) , "2px" , "Do not append px to 'letter-spacing'" ) ;
12791279} ) ;
12801280
1281- QUnit . test ( "Append px to whitelisted properties" , function ( assert ) {
1281+ QUnit . test ( "Append px to allowlisted properties" , function ( assert ) {
12821282 var prop ,
12831283 $div = jQuery ( "<div>" ) . appendTo ( "#qunit-fixture" ) ,
1284- whitelist = {
1284+ allowlist = {
12851285 margin : "marginTop" ,
12861286 marginTop : undefined ,
12871287 marginRight : undefined ,
@@ -1314,10 +1314,10 @@ QUnit.test( "Append px to whitelisted properties", function( assert ) {
13141314 borderLeftWidth : undefined
13151315 } ;
13161316
1317- assert . expect ( ( Object . keys ( whitelist ) . length ) * 2 ) ;
1317+ assert . expect ( ( Object . keys ( allowlist ) . length ) * 2 ) ;
13181318
1319- for ( prop in whitelist ) {
1320- var propToCheck = whitelist [ prop ] || prop ,
1319+ for ( prop in allowlist ) {
1320+ var propToCheck = allowlist [ prop ] || prop ,
13211321 kebabProp = prop . replace ( / [ A - Z ] / g, function ( match ) {
13221322 return "-" + match . toLowerCase ( ) ;
13231323 } ) ,
You can’t perform that action at this time.
0 commit comments