aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRichard Worth <rdworth@gmail.com>2008-06-21 10:10:23 +0000
committerRichard Worth <rdworth@gmail.com>2008-06-21 10:10:23 +0000
commitf3000e350661ec56c358b8a1ecd48e3957eaa440 (patch)
treea5824e7b08814ad8357a8a3da354bfb08a4be249 /tests
parentcad08b6315d15c5affabb6d7bcf347e575c2be80 (diff)
downloadjquery-ui-f3000e350661ec56c358b8a1ecd48e3957eaa440.tar.gz
jquery-ui-f3000e350661ec56c358b8a1ecd48e3957eaa440.zip
tests datepicker - added closure (for isolation in all.html)
Diffstat (limited to 'tests')
-rw-r--r--tests/datepicker.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/datepicker.js b/tests/datepicker.js
index 5fe455284..acc41263a 100644
--- a/tests/datepicker.js
+++ b/tests/datepicker.js
@@ -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);