Skip to content

Commit 62156dd

Browse files
committed
🔪 long-obsolete cache object
1 parent 0f37648 commit 62156dd

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/components/drawing/index.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -569,9 +569,6 @@ drawing.steps = function(shape) {
569569

570570
// off-screen svg render testing element, shared by the whole page
571571
// uses the id 'js-plotly-tester' and stores it in drawing.tester
572-
// makes a hash of cached text items in tester.node()._cache
573-
// so we can add references to rendered text (including all info
574-
// needed to fully determine its bounding rect)
575572
drawing.makeTester = function() {
576573
var tester = d3.select('body')
577574
.selectAll('#js-plotly-tester')
@@ -601,10 +598,6 @@ drawing.makeTester = function() {
601598
fill: 'black'
602599
});
603600

604-
if(!tester.node()._cache) {
605-
tester.node()._cache = {};
606-
}
607-
608601
drawing.tester = tester;
609602
drawing.testref = testref;
610603
};

0 commit comments

Comments
 (0)