Commit fa45f25d authored by wycats's avatar wycats

Fix a failing subclass test due to a change in master

parent 3716f2d0
...@@ -1081,7 +1081,7 @@ test("jQuery.subclass", function(){ ...@@ -1081,7 +1081,7 @@ test("jQuery.subclass", function(){
'body', 'body',
'html, body', 'html, body',
'<div></div>' '<div></div>'
] ];
methods = [ // all methods that return a new jQuery instance methods = [ // all methods that return a new jQuery instance
['eq', 1], ['eq', 1],
...@@ -1090,16 +1090,16 @@ test("jQuery.subclass", function(){ ...@@ -1090,16 +1090,16 @@ test("jQuery.subclass", function(){
['has'], ['has'],
['closest', 'div'], ['closest', 'div'],
['filter', document], ['filter', document],
['find'] ['find', 'div']
] ];
contexts = [undefined, document, jQueryDocument]; contexts = [undefined, document, jQueryDocument];
jQuery.each(selectors, function(i, selector){ jQuery.each(selectors, function(i, selector){
jQuery.each(methods, function(){ jQuery.each(methods, function(){
method = this[0] method = this[0];
arg = this[1] arg = this[1];
jQuery.each(contexts, function(i, context){ jQuery.each(contexts, function(i, context){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment