git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Standardized the type checks across core. isFunction and isArray now use Object.proto...
[jquery.git]
/
test
/
unit
/
event.js
diff --git
a/test/unit/event.js
b/test/unit/event.js
index
40dc187
..
a0857a3
100644
(file)
--- a/
test/unit/event.js
+++ b/
test/unit/event.js
@@
-258,7
+258,7
@@
test("trigger(event, [data], [fn])", function() {
var pass = true;
try {
var pass = true;
try {
- jQuery('input:first')
+ jQuery('#form input:first')
.hide()
.trigger('focus');
} catch(e) {
.hide()
.trigger('focus');
} catch(e) {
@@
-330,7
+330,7
@@
test("toggle(Function, Function, ...)", function() {
var data = jQuery.data( $div[0], 'events' );
ok( !data, "Unbinding one function from toggle unbinds them all");
});
var data = jQuery.data( $div[0], 'events' );
ok( !data, "Unbinding one function from toggle unbinds them all");
});
-
+/*
test("jQuery(function($) {})", function() {
stop();
jQuery(function($) {
test("jQuery(function($) {})", function() {
stop();
jQuery(function($) {
@@
-346,3
+346,4
@@
test("event properties", function() {
start();
}).click();
});
start();
}).click();
});
+*/
\ No newline at end of file