MCPcopy Index your code
hub / github.com/textAngular/textAngular / makeMap

Function makeMap

src/textAngular-sanitize.js:256–260  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

254 htmlAttrs);
255
256function makeMap(str) {
257 var obj = {}, items = str.split(','), i;
258 for (i = 0; i < items.length; i++) obj[items[i]] = true;
259 return obj;
260}
261
262
263/**

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected