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

Function fixDates

test/jasmine/tests/draw_newshape_test.js:91–94  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

89}
90
91function fixDates(str) {
92 // hack to conver date axes to some numbers to parse with parse-svg-path
93 return str.replace(/[ _\-:]/g, '');
94}
95
96describe('Draw new shapes to layout', function() {
97 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…