jquery core: Patch from #2619 applied, making makeArray more flexible and faster; removed hint to ticket from (previously failing) test

This commit is contained in:
Jörn Zaefferer 2008-04-24 21:23:36 +00:00
parent f12d94a628
commit f8e5fd6fef
2 changed files with 8 additions and 7 deletions

View file

@ -1562,7 +1562,7 @@ test("contents()", function() {
equals( c[0].nodeValue, "hi", "Check node,textnode,comment contents is just the one from span" );
});
test("makeArray(#2619)", function(){
test("$.makeArray", function(){
expect(11);
equals( $.makeArray(document.getElementsByName("PWD")).slice(0,1)[0].name, "PWD", "Pass makeArray a nodelist" );