mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Resizable: Avoid Array#map()
in tests for IE8
This commit is contained in:
parent
92451b44c1
commit
4d9779342e
@ -417,7 +417,7 @@ QUnit.test( "setOption handles", function( assert ) {
|
|||||||
var target = $( "<div></div>" ).resizable();
|
var target = $( "<div></div>" ).resizable();
|
||||||
|
|
||||||
function checkHandles( expectedHandles ) {
|
function checkHandles( expectedHandles ) {
|
||||||
expectedHandles = expectedHandles.map( function( value ) {
|
expectedHandles = $.map( expectedHandles, function( value ) {
|
||||||
return ".ui-resizable-" + value;
|
return ".ui-resizable-" + value;
|
||||||
} );
|
} );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user