diff options
author | Ariel Flesler <aflesler@gmail.com> | 2008-12-16 00:05:04 +0000 |
---|---|---|
committer | Ariel Flesler <aflesler@gmail.com> | 2008-12-16 00:05:04 +0000 |
commit | e611289a79d959c1185d002c29093e9809b6dec8 (patch) | |
tree | 0616f7ac0286869d2e2d2781afc5980350acc154 /test/unit/core.js | |
parent | 475f89b6519c95f730ed04cd3dd715f582873e4d (diff) | |
download | jquery-e611289a79d959c1185d002c29093e9809b6dec8.tar.gz jquery-e611289a79d959c1185d002c29093e9809b6dec8.zip |
testrunner: re adding the test for a function within isFunction.
Diffstat (limited to 'test/unit/core.js')
-rw-r--r-- | test/unit/core.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/unit/core.js b/test/unit/core.js index 686899efe..45003e888 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" );
|