]> 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:27:46 +0000 (08:27 -0400)
(cherry picked from commit 6d0164571647e169c9674a2853f3223caf188e7e)

ui/jquery.ui.datepicker.js

index 8dd9bf3dc75ae16bdc71bc71b6b3671b8036f70f..b07a5ee7236770f702e8854e03da7af7756efc46 100644 (file)
@@ -1089,7 +1089,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;
        },