Skip to content

Commit 01f8595

Browse files
committed
lint: some line spacing in plots.js
1 parent 037fa5c commit 01f8595

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/plots/plots.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ var Plotly = require('../plotly');
1616
var Registry = require('../registry');
1717
var Lib = require('../lib');
1818
var Color = require('../components/color');
19+
1920
var plots = module.exports = {};
21+
2022
var animationAttrs = require('./animation_attributes');
2123
var frameAttrs = require('./frame_attributes');
2224

@@ -788,8 +790,7 @@ function applyTransforms(fullTrace, fullData, layout) {
788790

789791
for(var i = 0; i < container.length; i++) {
790792
var transform = container[i],
791-
type = transform.type,
792-
_module = transformsRegistry[type];
793+
_module = transformsRegistry[transform.type];
793794

794795
if(_module) {
795796
dataOut = _module.transform(dataOut, {

0 commit comments

Comments
 (0)