summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorThéodore Biadala <theodore@biadala.net>2014-10-15 03:49:30 +0200
committerThéodore Biadala <theodore@biadala.net>2014-10-15 03:49:30 +0200
commit6c3c03d6c1b974c03f1276e65fc3f2bba5e4393e (patch)
treef97bc5195dcf938afcd6195d426d64ac90479f41 /test
parent57bf227077907c9358cc4e97f679585140bc91c6 (diff)
downloadjquery-once-6c3c03d6c1b974c03f1276e65fc3f2bba5e4393e.zip
jquery-once-6c3c03d6c1b974c03f1276e65fc3f2bba5e4393e.tar.gz
jquery-once-6c3c03d6c1b974c03f1276e65fc3f2bba5e4393e.tar.bz2
Remove ability to call once() without a parameter
Diffstat (limited to 'test')
-rw-r--r--test/test.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/test/test.js b/test/test.js
index d1dbd2f..e50ac76 100644
--- a/test/test.js
+++ b/test/test.js
@@ -1,14 +1,3 @@
-test(".once() properly executed", function() {
- // Create one once() call.
- $('#test1 span').once().data('test1', 'foo');
-
- // Create another once() call.
- $('#test1 span').once().data('test1', 'bar');
-
- var data = $('#test1 span').data('test1');
- ok(data === "bar");
-});
-
test(".once('test1-2') properly executed", function() {
// Create one once('test1-2') call.
$('#test1 span').once('test1-2').data('test1-2', 'foo');