Skip to content
Permalink
Browse files
Datepicker: Changed a comment that causes problems with YUI Compresso…
…r. Fixes #7129 - Datepicker: Can't minify with YUI Compressor.

(cherry picked from commit 6d01645)
  • Loading branch information
scottgonzalez committed Mar 18, 2011
1 parent 218100e commit 2b4a902e00b076661dc99528c88536e9460d415a
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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;
},

0 comments on commit 2b4a902

Please sign in to comment.