MCPcopy Index your code
hub / github.com/plotly/plotly.js / fixDates

Function fixDates

test/jasmine/tests/draw_newselection_test.js:89–92  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

87}
88
89function fixDates(str) {
90 // hack to conver date axes to some numbers to parse with parse-svg-path
91 return str.replace(/[ _\-:]/g, '');
92}
93
94describe('Draw new selections to layout', function() {
95 var gd;

Callers 1

assertPosFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…