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

Function getDomFromHtml

src/globals.js:68–73  ·  view source on GitHub ↗
(html)

Source from the content-addressed store, hash-verified

66}
67// get html
68function getDomFromHtml(html)
69{
70 var tmp = document.createElement("DIV");
71 tmp.innerHTML = html;
72 return tmp;
73}
74
75
76// Global to textAngular REGEXP vars for block and list elements.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected