X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=test%2Funit%2Fcore.js;h=45003e888906b5159397652bfead2c04b46ebbaf;hb=77344f4c50386690782ab8ddc92898a918f54f5c;hp=686899efec9f236c24ebe7ae3f0bef425f2e0f8b;hpb=96e8f355daea4ec16b6f98f3cc2472a75cabc3eb;p=jquery.git diff --git a/test/unit/core.js b/test/unit/core.js index 686899e..45003e8 100644 --- a/test/unit/core.js +++ b/test/unit/core.js @@ -1708,9 +1708,7 @@ test("jQuery.makeArray", function(){ ok( !!jQuery.makeArray( document.documentElement.childNodes ).slice(0,1)[0].nodeName, "Pass makeArray a childNodes array" ); // function, is tricky as it has length - // NOTE: Due to the conflict with Scriptaculous (http://dev.jquery.com/ticket/3248) - // We remove support for functions since jQuery 1.3 - //equals( jQuery.makeArray( function(){ return 1;} )[0](), 1, "Pass makeArray a function" ); + equals( jQuery.makeArray( function(){ return 1;} )[0](), 1, "Pass makeArray a function" ); //window, also has length equals( jQuery.makeArray(window)[0], window, "Pass makeArray the window" );