Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Datepicker: Changed a comment that causes problems with YUI Compresso…
…r. Fixes #7129 - Datepicker: Can't minify with YUI Compressor.
  • Loading branch information
scottgonzalez committed Mar 18, 2011
1 parent 5a112d4 commit 6d01645
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/jquery.ui.datepicker.js
Expand Up @@ -1093,7 +1093,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;
},

Expand Down

0 comments on commit 6d01645

Please sign in to comment.