Skip to content

Commit 3ac4c07

Browse files
committed
lint getComponentMethod call
1 parent 0d66e6e commit 3ac4c07

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/plots/plots.js

+5-2
Original file line numberDiff line numberDiff line change
@@ -973,8 +973,11 @@ plots.supplyLayoutGlobalDefaults = function(layoutIn, layoutOut) {
973973
coerce('hidesources');
974974
coerce('smith');
975975

976-
var handleCalendarDefaults = Registry.getComponentMethod('calendars', 'handleDefaults');
977-
handleCalendarDefaults(layoutIn, layoutOut, 'calendar');
976+
Registry.getComponentMethod(
977+
'calendars',
978+
'handleDefaults'
979+
)(layoutIn, layoutOut, 'calendar');
980+
978981
};
979982

980983
plots.plotAutoSize = function plotAutoSize(gd, layout, fullLayout) {

0 commit comments

Comments
 (0)