From 33ba03c0a769de44216388582adbb750c9c4e763 Mon Sep 17 00:00:00 2001 From: jos Date: Fri, 19 Dec 2014 12:27:07 +0100 Subject: [PATCH] Removed scale enum in TimeStep --- lib/timeline/TimeStep.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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. */