Resizable: Avoid Array#map() in tests for IE8

This commit is contained in:
Scott González 2016-07-07 10:18:18 -04:00
parent 92451b44c1
commit 4d9779342e

View File

@ -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;
} ); } );