Skip to content

Commit 0cb2ae9

Browse files
committed
src/plot_api/plot_schema.js
1 parent adacbdf commit 0cb2ae9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/plot_api/plot_schema.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)