mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
21 lines
370 B
JavaScript
21 lines
370 B
JavaScript
/*
|
|
* progressbar_options.js
|
|
*/
|
|
(function($) {
|
|
|
|
module("progressbar: options");
|
|
|
|
test("{ value : 0 }, default", function() {
|
|
$("#progressbar").progressbar();
|
|
same( 0, $("#progressbar").progressbar("value") );
|
|
});
|
|
|
|
test("{ value : 5 }", function() {
|
|
$("#progressbar").progressbar({
|
|
value: 5
|
|
});
|
|
same( 5, $("#progressbar").progressbar("value") );
|
|
});
|
|
|
|
})(jQuery);
|