aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2011-03-18 08:26:08 -0400
committerScott González <scott.gonzalez@gmail.com>2011-03-18 08:27:46 -0400
commit2b4a902e00b076661dc99528c88536e9460d415a (patch)
tree02cfe3e1b3f5686472637a7d13740747b7561fc9 /ui
parent218100e7042cdf0a27fd1f3b7a954944878838f9 (diff)
downloadjquery-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.js2
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;
},