Skip to content

Commit 2053c58

Browse files
committed
image: fix code style by breaking long line into multiple ones
1 parent 97a8d24 commit 2053c58

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: src/plots/cartesian/layout_defaults.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,9 @@ module.exports = function supplyLayoutDefaults(layoutIn, layoutOut, fullData) {
304304
axLayoutOut = layoutOut[axName];
305305

306306
var scaleanchorDflt = null;
307-
if(axLetter === 'y' && !axLayoutIn.hasOwnProperty('scaleanchor') && !yaMustNotScaleanchor[axName] && yaMayScaleanchor[axName]) {
307+
if(axLetter === 'y' && !axLayoutIn.hasOwnProperty('scaleanchor') &&
308+
!yaMustNotScaleanchor[axName] && yaMayScaleanchor[axName]
309+
) {
308310
scaleanchorDflt = axLayoutOut.anchor;
309311
}
310312
handleConstraintDefaults(axLayoutIn, axLayoutOut, coerce, {

0 commit comments

Comments
 (0)