]> source.dussan.org Git - jquery-ui.git/commitdiff
Datepicker: Changed a comment that causes problems with YUI Compressor. Fixes #7129...
authorScott González <scott.gonzalez@gmail.com>
Fri, 18 Mar 2011 12:26:08 +0000 (08:26 -0400)
committerScott González <scott.gonzalez@gmail.com>
Fri, 18 Mar 2011 12:26:08 +0000 (08:26 -0400)
ui/jquery.ui.datepicker.js

index 670955f648eeab8fcdf6b33fcbf02a2e0844fb4e..ed02335e5418ef1489ae5a7c9143db60a9e8a073 100644 (file)
@@ -1093,7 +1093,7 @@ $.extend(Datepicker.prototype, {
                }
                var date = this._daylightSavingAdjust(new Date(year, month - 1, day));
                if (date.getFullYear() != year || date.getMonth() + 1 != month || date.getDate() != day)
-                       throw 'Invalid date'; // E.g. 31/02/*
+                       throw 'Invalid date'; // E.g. 31/02/00
                return date;
        },