MCPcopy Index your code
hub / github.com/microsoft/SandDance / rewriteURLs

Function rewriteURLs

scripts/readme.js:54–61  ·  view source on GitHub ↗
(html)

Source from the content-addressed store, hash-verified

52}
53
54function rewriteURLs(html) {
55 for (var key in map) {
56 var value = map[key];
57 var re = new RegExp(escapeRegExp(key), 'g');
58 html = html.replace(re, value);
59 }
60 return html;
61}
62
63packageSingleDir('@msrvida/sanddance-vue', './packages', 'sanddance-vue', './docs/docs');
64convertHomePage();

Callers 2

copyReadmeFunction · 0.85
convertHomePageFunction · 0.85

Calls 2

escapeRegExpFunction · 0.85
replaceMethod · 0.80

Tested by

no test coverage detected