git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
475f89b
)
testrunner: re adding the test for a function within isFunction.
author
Ariel Flesler
<aflesler@gmail.com>
Tue, 16 Dec 2008 00:05:04 +0000
(
00:05
+0000)
committer
Ariel Flesler
<aflesler@gmail.com>
Tue, 16 Dec 2008 00:05:04 +0000
(
00:05
+0000)
test/unit/core.js
patch
|
blob
|
history
diff --git
a/test/unit/core.js
b/test/unit/core.js
index
686899e
..
45003e8
100644
(file)
--- 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" );
\r
\r
// function, is tricky as it has length
\r
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
\r
//window, also has length
\r
equals( jQuery.makeArray(window)[0], window, "Pass makeArray the window" );
\r