mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
25 lines
431 B
JavaScript
25 lines
431 B
JavaScript
/*
|
|
* progressbar_methods.js
|
|
*/
|
|
(function($) {
|
|
|
|
module("progressbar: methods");
|
|
|
|
test("init", function() {
|
|
expect(1);
|
|
|
|
$("<div></div>").appendTo('body').progressbar().remove();
|
|
ok(true, '.progressbar() called on element');
|
|
|
|
});
|
|
|
|
test("destroy", function() {
|
|
expect(1);
|
|
|
|
$("<div></div>").appendTo('body').progressbar().progressbar("destroy").remove();
|
|
ok(true, '.progressbar("destroy") called on element');
|
|
|
|
});
|
|
|
|
})(jQuery);
|