git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Made it so that you can bind a single function to multiple .live() selectors. Additio...
[jquery.git]
/
test
/
unit
/
fx.js
diff --git
a/test/unit/fx.js
b/test/unit/fx.js
index
2ee3d30
..
28fb92d
100644
(file)
--- a/
test/unit/fx.js
+++ b/
test/unit/fx.js
@@
-34,6
+34,18
@@
test("animate option (queue === false)", function () {
});
});
});
});
+test("animate non-element", function(){
+ expect(1);
+ stop();
+
+ var obj = { test: 0 };
+
+ jQuery(obj).animate({test: 200}, 200, function(){
+ equals( obj.test, 200, "The custom property should be modified." );
+ start();
+ });
+});
+
test("stop()", function() {
expect(3);
stop();
test("stop()", function() {
expect(3);
stop();