MCPcopy
hub / github.com/icindy/wxParse / makeMap

Function makeMap

wxParse/htmlparser.js:185–190  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

183
184
185function makeMap(str) {
186 var obj = {}, items = str.split(",");
187 for (var i = 0; i < items.length; i++)
188 obj[items[i]] = true;
189 return obj;
190}
191
192module.exports = HTMLParser;

Callers 1

htmlparser.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected