MCPcopy
hub / github.com/wecatch/china_regions / renderDom

Function renderDom

main.js:39–46  ·  view source on GitHub ↗
(html)

Source from the content-addressed store, hash-verified

37
38
39function renderDom(html) {
40 const {
41 JSDOM
42 } = jsdom;
43 const dom = new JSDOM(html);
44 const $ = (require('jquery'))(dom.window);
45 return $;
46}
47
48
49function newRequestPromise(url) {

Callers 5

parseProviceFunction · 0.85
parseCityFunction · 0.85
parseCountryFunction · 0.85
parseTownFunction · 0.85
parseVillageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected