Browse Source

Removed scale enum in TimeStep

v3_develop
jos 10 years ago
parent
commit
33ba03c0a7
1 changed files with 3 additions and 5 deletions
  1. +3
    -5
      lib/timeline/TimeStep.js

+ 3
- 5
lib/timeline/TimeStep.js View File

@ -229,11 +229,9 @@ TimeStep.prototype.getCurrent = function() {
* For example setScale(SCALE.MINUTES, 5) will result * For example setScale(SCALE.MINUTES, 5) will result
* in minor steps of 5 minutes, and major steps of an hour. * 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 * @param {Number} newStep A step size, by default 1. Choose for
* example 1, 2, 5, or 10. * example 1, 2, 5, or 10.
*/ */

Loading…
Cancel
Save