MCPcopy
hub / github.com/NUKnightLab/TimelineJS3 / _transformURL

Method _transformURL

src/js/media/types/DocumentCloud.js:33–35  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

31
32 // Viewer API needs js, not html
33 _transformURL(url) {
34 return url.replace(/(.*)\.html$/, '$1.js')
35 }
36
37 // Update Media Display
38 _updateMediaDisplay() {

Callers 1

_loadMediaMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected