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) {
324324 _module = basePlotModules [ i ] ;
325325 if ( _module . attrRegex && _module . attrRegex . test ( head ) ) {
326326 // 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
328328 if ( _module . layoutAttrOverrides ) return _module . layoutAttrOverrides ;
329329
330330 // otherwise take the first attributes we find
331331 if ( ! out && _module . layoutAttributes ) out = _module . layoutAttributes ;
332332 }
333333
334334 // a module can also override the behavior of base (and component) module layout attrs
335- // again see gl2d for initial use case
336335 var baseOverrides = _module . baseLayoutAttrOverrides ;
337336 if ( baseOverrides && head in baseOverrides ) return baseOverrides [ head ] ;
338337 }
You can’t perform that action at this time.
0 commit comments