Fix a failing subclass test due to a change in master
This commit is contained in:
parent
3716f2d041
commit
fa45f25d1c
|
@ -1081,7 +1081,7 @@ test("jQuery.subclass", function(){
|
|||
'body',
|
||||
'html, body',
|
||||
'<div></div>'
|
||||
]
|
||||
];
|
||||
|
||||
methods = [ // all methods that return a new jQuery instance
|
||||
['eq', 1],
|
||||
|
@ -1090,16 +1090,16 @@ test("jQuery.subclass", function(){
|
|||
['has'],
|
||||
['closest', 'div'],
|
||||
['filter', document],
|
||||
['find']
|
||||
]
|
||||
['find', 'div']
|
||||
];
|
||||
|
||||
contexts = [undefined, document, jQueryDocument];
|
||||
|
||||
jQuery.each(selectors, function(i, selector){
|
||||
|
||||
jQuery.each(methods, function(){
|
||||
method = this[0]
|
||||
arg = this[1]
|
||||
method = this[0];
|
||||
arg = this[1];
|
||||
|
||||
jQuery.each(contexts, function(i, context){
|
||||
|
||||
|
|
Loading…
Reference in a new issue