Skip to content

Commit f45ffec

Browse files
committed
add tempory block _has() -> _hasCartesian etc.
- revert after replacing all _has with _has()
1 parent 876ce4b commit f45ffec

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/plots/plots.js

+9
Original file line numberDiff line numberDiff line change
@@ -481,6 +481,15 @@ plots.supplyDefaults = function(gd) {
481481

482482
// attach helper method
483483
newFullLayout._has = hasPlotType.bind(newFullLayout);
484+
485+
// temporary block (before replace all _has??? with _hasPlotType() ?
486+
newFullLayout._hasCartesian = newFullLayout._has('cartesian');
487+
newFullLayout._hasGeo = newFullLayout._has('geo');
488+
newFullLayout._hasGL3D = newFullLayout._has('gl3d');
489+
newFullLayout._hasGL2D = newFullLayout._has('gl2d');
490+
newFullLayout._hasTernary = newFullLayout._has('ternary');
491+
newFullLayout._hasPie = newFullLayout._has('pie');
492+
484493
// special cases that introduce interactions between traces
485494
for(i = 0; i < modules.length; i++) {
486495
_module = modules[i];

0 commit comments

Comments
 (0)