Browse Source

Fixed fall through inspection comment

v3_develop
jos 10 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() { TimeStep.prototype.roundToMinor = function() {
// round to floor // round to floor
// IMPORTANT: we have no breaks in this switch! (this is no bug) // IMPORTANT: we have no breaks in this switch! (this is no bug)
//noinspection FallthroughInSwitchStatementJS
// noinspection FallThroughInSwitchStatementJS
switch (this.scale) { switch (this.scale) {
case 'year': case 'year':
this.current.setFullYear(this.step * Math.floor(this.current.getFullYear() / this.step)); this.current.setFullYear(this.step * Math.floor(this.current.getFullYear() / this.step));

Loading…
Cancel
Save