aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorjeresig <jeresig@gmail.com>2010-01-11 13:48:40 -0500
committerjeresig <jeresig@gmail.com>2010-01-11 13:48:40 -0500
commit366039a6f05ffa09630e95be604e3f4f26a33bd6 (patch)
tree1170e58c03a9dfe8e36bffc06269143d0cc15e66 /test
parent5a0ac24e35c07fe4be22df828e6b909fe65237b9 (diff)
downloadjquery-366039a6f05ffa09630e95be604e3f4f26a33bd6.tar.gz
jquery-366039a6f05ffa09630e95be604e3f4f26a33bd6.zip
Revert "Adding in backwards-compatiblity support for jQuery().bind/unbind/trigger - and immediately deprecating it. Please explicitly use jQuery(document) in your code."
This reverts commit e9d5947b4abbc052046585227892da0adcd56caf.
Diffstat (limited to 'test')
-rw-r--r--test/unit/event.js13
1 files changed, 0 insertions, 13 deletions
diff --git a/test/unit/event.js b/test/unit/event.js
index 7111bb556..8a9e48b02 100644
--- a/test/unit/event.js
+++ b/test/unit/event.js
@@ -118,19 +118,6 @@ test("bind(), trigger change on select", function() {
}).trigger('change');
});
-test("bind/unbind/trigger on empty jQuery set", function() {
- expect(1);
-
- jQuery().bind("test", function(){
- equals( this, document, "Handler triggered and bound on document." );
- });
-
- jQuery().trigger("test");
-
- jQuery().unbind("test");
- jQuery().trigger("test");
-});
-
test("bind(), namespaced events, cloned events", function() {
expect(6);