diff --git a/lib/timeline/TimeStep.js b/lib/timeline/TimeStep.js index a6a1dec9..bd9ad89b 100644 --- a/lib/timeline/TimeStep.js +++ b/lib/timeline/TimeStep.js @@ -229,11 +229,9 @@ TimeStep.prototype.getCurrent = function() { * For example setScale(SCALE.MINUTES, 5) will result * in minor steps of 5 minutes, and major steps of an hour. * - * @param {TimeStep.SCALE} newScale - * A scale. Choose from SCALE.MILLISECOND, - * SCALE.SECOND, SCALE.MINUTE, SCALE.HOUR, - * SCALE.WEEKDAY, SCALE.DAY, SCALE.MONTH, - * SCALE.YEAR. + * @param {string} newScale + * A scale. Choose from 'millisecond, 'second, + * 'minute', 'hour', 'weekday, 'day, 'month, 'year'. * @param {Number} newStep A step size, by default 1. Choose for * example 1, 2, 5, or 10. */