File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -324,15 +324,14 @@ function layoutHeadAttr(fullLayout, head) {
324
324
_module = basePlotModules [ i ] ;
325
325
if ( _module . attrRegex && _module . attrRegex . test ( head ) ) {
326
326
// if a module defines overrides, these take precedence
327
- // initially this is to allow gl2d different editTypes from svg cartesian
327
+ // this is to allow different editTypes from svg cartesian
328
328
if ( _module . layoutAttrOverrides ) return _module . layoutAttrOverrides ;
329
329
330
330
// otherwise take the first attributes we find
331
331
if ( ! out && _module . layoutAttributes ) out = _module . layoutAttributes ;
332
332
}
333
333
334
334
// a module can also override the behavior of base (and component) module layout attrs
335
- // again see gl2d for initial use case
336
335
var baseOverrides = _module . baseLayoutAttrOverrides ;
337
336
if ( baseOverrides && head in baseOverrides ) return baseOverrides [ head ] ;
338
337
}
You can’t perform that action at this time.
0 commit comments