mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
23 lines
464 B
JavaScript
23 lines
464 B
JavaScript
/*
|
|
* datepicker_tickets.js
|
|
*/
|
|
(function($) {
|
|
|
|
module("datepicker: tickets");
|
|
|
|
test('#4055: onclick events contain references to "jQuery"', function() {
|
|
// no assertions, if the test fails, there will be an error
|
|
|
|
var _jQuery = jQuery;
|
|
jQuery = null;
|
|
|
|
$('<div/>').appendTo('body').datepicker()
|
|
// the third weekend day always exists
|
|
.find('tbody .ui-datepicker-week-end:eq(3)').click().end()
|
|
.datepicker('destroy');
|
|
|
|
jQuery = _jQuery;
|
|
});
|
|
|
|
})(jQuery);
|