fix: no-empty

```
/Users/1ambda/github/apache/apache-zeppelin/zeppelin-master/zeppelin-web/src/app/visualization/builtins/visualization-nvd3chart.js (1/2)
  ✖   52:25  Empty block statement            no-empty
```
This commit is contained in:
1ambda 2017-04-15 00:46:51 +09:00
parent 131c901d47
commit b094fff553
2 changed files with 1 additions and 3 deletions

View file

@ -35,7 +35,6 @@
"no-useless-constructor": 0,
"no-unused-expressions": 0,
"space-infix-ops": 0,
"no-empty": 0,
"operator-linebreak": 0,
"prefer-spread": 0,
"space-before-blocks": 0,

View file

@ -49,8 +49,7 @@ export default class Nvd3ChartVisualization extends Visualization {
if (d3g[0].values.length > numberOfDataThreshold) {
animationDuration = 0;
}
} catch (ignoreErr) {
}
} catch (err) { /** ignore */ }
d3.select('#' + this.targetEl[0].id + ' svg')
.attr('height', height)