mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-01-29 18:57:55 -05:00
tests datepicker - added closure (for isolation in all.html)
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
/*
|
||||
* datepicker unit tests
|
||||
*/
|
||||
(function($) {
|
||||
|
||||
module('datepicker');
|
||||
|
||||
function equalsDate(d1, d2, message) {
|
||||
@@ -590,3 +595,5 @@ test('formatDate', function() {
|
||||
equals($.datepicker.formatDate('\'day\' d of MM (\'\'DD\'\'), yy', new Date(2001, 2 - 1, 3), settings),
|
||||
'day 3 of Mon2 (\'Day7\'), 2001', 'Format date \'day\' d of MM (\'\'DD\'\'), yy with settings');
|
||||
});
|
||||
|
||||
})(jQuery);
|
||||
|
||||
Reference in New Issue
Block a user