MCPcopy Index your code
hub / github.com/apache/echarts / fetchPagePaths

Function fetchPagePaths

test/-cases.js:112–126  ·  view source on GitHub ↗
(content)

Source from the content-addressed store, hash-verified

110 }
111
112 function fetchPagePaths(content) {
113 var pageList = [];
114
115 singleFetch(/"([^"/]*\/)*([^"/]+\.html)\s*"/g);
116 singleFetch(/'([^'/]*\/)*([^'/]+\.html)\s*'/g);
117
118 function singleFetch(pattern) {
119 var result;
120 while ((result = pattern.exec(content)) != null) {
121 pageList.push(result[result.length - 1]);
122 }
123 }
124
125 return pageList;
126 }
127
128 run();
129

Callers 1

runFunction · 0.85

Calls 1

singleFetchFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…