Datepicker: Changed a comment that causes problems with YUI Compressor. Fixes #7129 - Datepicker: Can't minify with YUI Compressor.

(cherry picked from commit 6d01645716)
This commit is contained in:
Scott González 2011-03-18 08:26:08 -04:00
parent 218100e704
commit 2b4a902e00

View File

@ -1089,7 +1089,7 @@ $.extend(Datepicker.prototype, {
} }
var date = this._daylightSavingAdjust(new Date(year, month - 1, day)); var date = this._daylightSavingAdjust(new Date(year, month - 1, day));
if (date.getFullYear() != year || date.getMonth() + 1 != month || date.getDate() != 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; return date;
}, },