diff options
author | Scott González <scott.gonzalez@gmail.com> | 2011-03-18 08:26:08 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2011-03-18 08:27:46 -0400 |
commit | 2b4a902e00b076661dc99528c88536e9460d415a (patch) | |
tree | 02cfe3e1b3f5686472637a7d13740747b7561fc9 /ui | |
parent | 218100e7042cdf0a27fd1f3b7a954944878838f9 (diff) | |
download | jquery-ui-2b4a902e00b076661dc99528c88536e9460d415a.tar.gz jquery-ui-2b4a902e00b076661dc99528c88536e9460d415a.zip |
Datepicker: Changed a comment that causes problems with YUI Compressor. Fixes #7129 - Datepicker: Can't minify with YUI Compressor.
(cherry picked from commit 6d0164571647e169c9674a2853f3223caf188e7e)
Diffstat (limited to 'ui')
-rw-r--r-- | ui/jquery.ui.datepicker.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.datepicker.js b/ui/jquery.ui.datepicker.js index 8dd9bf3dc..b07a5ee72 100644 --- a/ui/jquery.ui.datepicker.js +++ b/ui/jquery.ui.datepicker.js @@ -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; }, |