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 (parent:
3716f2d
)
Fix a failing subclass test due to a change in master
author
wycats
<wycats@gmail.com>
Fri, 14 Jan 2011 16:17:32 +0000
(11:17 -0500)
committer
wycats
<wycats@gmail.com>
Fri, 14 Jan 2011 16:17:32 +0000
(11:17 -0500)
test/unit/core.js
patch
|
blob
|
history
diff --git
a/test/unit/core.js
b/test/unit/core.js
index
d26e7c5
..
db160b2
100644
(file)
--- a/
test/unit/core.js
+++ b/
test/unit/core.js
@@
-1081,7
+1081,7
@@
test("jQuery.subclass", function(){
'body',
'html, body',
'<div></div>'
'body',
'html, body',
'<div></div>'
- ]
+ ];
methods = [ // all methods that return a new jQuery instance
['eq', 1],
methods = [ // all methods that return a new jQuery instance
['eq', 1],
@@
-1090,16
+1090,16
@@
test("jQuery.subclass", function(){
['has'],
['closest', 'div'],
['filter', document],
['has'],
['closest', 'div'],
['filter', document],
- ['find']
- ]
+ ['find', 'div']
+ ];
contexts = [undefined, document, jQueryDocument];
jQuery.each(selectors, function(i, selector){
jQuery.each(methods, function(){
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){
jQuery.each(contexts, function(i, context){