summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Vance <steve@vance.com>2013-07-06 18:04:28 -0400
committerStephen Vance <steve@vance.com>2013-07-06 22:20:07 -0400
commita7757c3a3c440deb94ce8b9f9762c9f1e3cd962e (patch)
tree542f0c8d0e757e8abc5d05b7ce9465794e84e54e
parentd0245b6a953a6a42f75ca677076217870b083c9e (diff)
downloadjQuery-Timepicker-Addon-a7757c3a3c440deb94ce8b9f9762c9f1e3cd962e.zip
jQuery-Timepicker-Addon-a7757c3a3c440deb94ce8b9f9762c9f1e3cd962e.tar.gz
jQuery-Timepicker-Addon-a7757c3a3c440deb94ce8b9f9762c9f1e3cd962e.tar.bz2
Additional jsdoc cleanups.
-rw-r--r--jquery-ui-timepicker-addon.js20
1 files changed, 10 insertions, 10 deletions
diff --git a/jquery-ui-timepicker-addon.js b/jquery-ui-timepicker-addon.js
index dcbaea5..832672b 100644
--- a/jquery-ui-timepicker-addon.js
+++ b/jquery-ui-timepicker-addon.js
@@ -1959,9 +1959,9 @@
/**
* No way to set timezone in js Date, so we must adjust the minutes to compensate. (think setDate, getDate)
- * @param {date} date
+ * @param {Date} date
* @param {string} toTimezone formatted like "+0500", "-1245"
- * @return date
+ * @return {Date}
*/
$.timepicker.timezoneAdjust = function(date, toTimezone) {
var toTz = $.timepicker.timezoneOffsetNumber(toTimezone);
@@ -1977,7 +1977,7 @@
* n.b. The input value must be correctly formatted (reformatting is not supported)
* @param {Element} startTime
* @param {Element} endTime
- * @param {object} options Options for the timepicker() call
+ * @param {Object} options Options for the timepicker() call
* @return {jQuery}
*/
$.timepicker.timeRange = function(startTime, endTime, options) {
@@ -1989,10 +1989,10 @@
* enforce date range limits.
* @param {Element} startTime
* @param {Element} endTime
- * @param {object} options Options for the `timepicker()` call. Also supports `reformat`,
+ * @param {Object} options Options for the `timepicker()` call. Also supports `reformat`,
* a boolean value that can be used to reformat the input values to the `dateFormat`.
- * @param string method Can be used to specify the type of picker to be added
- * @return jQuery
+ * @param {string} method Can be used to specify the type of picker to be added
+ * @return {jQuery}
*/
$.timepicker.datetimeRange = function(startTime, endTime, options) {
$.timepicker.handleRange('datetimepicker', startTime, endTime, options);
@@ -2003,9 +2003,9 @@
* enforce date range limits.
* @param {Element} startTime
* @param {Element} endTime
- * @param {object} options Options for the `timepicker()` call. Also supports `reformat`,
+ * @param {Object} options Options for the `timepicker()` call. Also supports `reformat`,
* a boolean value that can be used to reformat the input values to the `dateFormat`.
- * @return jQuery
+ * @return {jQuery}
*/
$.timepicker.dateRange = function(startTime, endTime, options) {
$.timepicker.handleRange('datepicker', startTime, endTime, options);
@@ -2017,9 +2017,9 @@
* @param {string} method Can be used to specify the type of picker to be added
* @param {Element} startTime
* @param {Element} endTime
- * @param {object} options Options for the `timepicker()` call. Also supports `reformat`,
+ * @param {Object} options Options for the `timepicker()` call. Also supports `reformat`,
* a boolean value that can be used to reformat the input values to the `dateFormat`.
- * @return jQuery
+ * @return {jQuery}
*/
$.timepicker.handleRange = function(method, startTime, endTime, options) {
options = $.extend({}, {