git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use the native Array indexOf method if it exists, for jQuery.inArray.
[jquery.git]
/
test
/
unit
/
core.js
diff --git
a/test/unit/core.js
b/test/unit/core.js
index
46858ce
..
d2b0996
100644
(file)
--- a/
test/unit/core.js
+++ b/
test/unit/core.js
@@
-337,7
+337,7
@@
test("jQuery('html')", function() {
test("jQuery('html', context)", function() {
expect(1);
- var $div = jQuery("<div/>");
+ var $div = jQuery("<div/>")[0];
var $span = jQuery("<span/>", $div);
equals($span.length, 1, "Verify a span created with a div context works, #1763");
});