testrunner: re adding the test for a function within isFunction.
authorAriel Flesler <aflesler@gmail.com>
Tue, 16 Dec 2008 00:05:04 +0000 (00:05 +0000)
committerAriel Flesler <aflesler@gmail.com>
Tue, 16 Dec 2008 00:05:04 +0000 (00:05 +0000)
test/unit/core.js

index 686899e..45003e8 100644 (file)
@@ -1708,9 +1708,7 @@ test("jQuery.makeArray", function(){
        ok( !!jQuery.makeArray( document.documentElement.childNodes ).slice(0,1)[0].nodeName, "Pass makeArray a childNodes array" );\r
 \r
        // function, is tricky as it has length\r
-       // NOTE: Due to the conflict with Scriptaculous (http://dev.jquery.com/ticket/3248)\r
-       // We remove support for functions since jQuery 1.3\r
-       //equals( jQuery.makeArray( function(){ return 1;} )[0](), 1, "Pass makeArray a function" );\r
+       equals( jQuery.makeArray( function(){ return 1;} )[0](), 1, "Pass makeArray a function" );\r
        \r
        //window, also has length\r
        equals( jQuery.makeArray(window)[0], window, "Pass makeArray the window" );\r