mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-12-07 06:14:24 +00:00
16 lines
273 B
JavaScript
16 lines
273 B
JavaScript
/*
|
|
* button_methods.js
|
|
*/
|
|
(function($) {
|
|
|
|
|
|
module("button: methods");
|
|
|
|
test("destroy", function() {
|
|
var beforeHtml = $("#button").parent().html();
|
|
var afterHtml = $("#button").button().button("destroy").parent().html();
|
|
same( beforeHtml, afterHtml );
|
|
});
|
|
|
|
})(jQuery);
|