Browse Source

Fixed fall through inspection comment

v3_develop
jos 9 years ago
parent
commit
3bc5895fb7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/timeline/TimeStep.js

+ 1
- 1
lib/timeline/TimeStep.js View File

@ -126,7 +126,7 @@ TimeStep.prototype.first = function() {
TimeStep.prototype.roundToMinor = function() {
// round to floor
// IMPORTANT: we have no breaks in this switch! (this is no bug)
//noinspection FallthroughInSwitchStatementJS
// noinspection FallThroughInSwitchStatementJS
switch (this.scale) {
case 'year':
this.current.setFullYear(this.step * Math.floor(this.current.getFullYear() / this.step));

Loading…
Cancel
Save