From: Scott González Date: Fri, 18 Mar 2011 12:26:08 +0000 (-0400) Subject: Datepicker: Changed a comment that causes problems with YUI Compressor. Fixes #7129... X-Git-Tag: 1.8.12~13 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2b4a902e00b076661dc99528c88536e9460d415a;p=jquery-ui.git Datepicker: Changed a comment that causes problems with YUI Compressor. Fixes #7129 - Datepicker: Can't minify with YUI Compressor. (cherry picked from commit 6d0164571647e169c9674a2853f3223caf188e7e) --- 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; },