]> source.dussan.org Git - jquery-ui.git/commitdiff
Resizable: Avoid `Array#map()` in tests for IE8
authorScott González <scott.gonzalez@gmail.com>
Thu, 7 Jul 2016 14:18:18 +0000 (10:18 -0400)
committerScott González <scott.gonzalez@gmail.com>
Thu, 7 Jul 2016 14:18:18 +0000 (10:18 -0400)
tests/unit/resizable/options.js

index 6eeba98ddf9069fc822ca06fabb2b364e1186b3e..03c40ff9898bcc559ea3060ce1c2aaf20a4e40c3 100644 (file)
@@ -417,7 +417,7 @@ QUnit.test( "setOption handles", function( assert ) {
        var target = $( "<div></div>" ).resizable();
 
        function checkHandles( expectedHandles ) {
-               expectedHandles = expectedHandles.map( function( value ) {
+               expectedHandles = $.map( expectedHandles, function( value ) {
                        return ".ui-resizable-" + value;
                } );