]> source.dussan.org Git - jquery-ui.git/commitdiff
tests datepicker - added closure (for isolation in all.html)
authorRichard Worth <rdworth@gmail.com>
Sat, 21 Jun 2008 10:10:23 +0000 (10:10 +0000)
committerRichard Worth <rdworth@gmail.com>
Sat, 21 Jun 2008 10:10:23 +0000 (10:10 +0000)
tests/datepicker.js

index 5fe4552840880c24a145920b078ec2fe95205f77..acc41263ac1ade33a1643024b1db30a8c25075df 100644 (file)
@@ -1,3 +1,8 @@
+/*\r
+ * datepicker unit tests\r
+ */\r
+(function($) {\r
+\r
 module('datepicker');\r
 \r
 function equalsDate(d1, d2, message) {\r
@@ -590,3 +595,5 @@ test('formatDate', function() {
        equals($.datepicker.formatDate('\'day\' d of MM (\'\'DD\'\'), yy', new Date(2001, 2 - 1, 3), settings),\r
                'day 3 of Mon2 (\'Day7\'), 2001', 'Format date \'day\' d of MM (\'\'DD\'\'), yy with settings');\r
 });\r
+\r
+})(jQuery);\r