MCPcopy Index your code
hub / github.com/angular-ui/ui-grid / jqLiteParseHTML

Function jqLiteParseHTML

lib/test/angular/1.7.0/angular.js:3160–3173  ·  view source on GitHub ↗
(html, context)

Source from the content-addressed store, hash-verified

3158}
3159
3160function jqLiteParseHTML(html, context) {
3161 context = context || window.document;
3162 var parsed;
3163
3164 if ((parsed = SINGLE_TAG_REGEXP.exec(html))) {
3165 return [context.createElement(parsed[1])];
3166 }
3167
3168 if ((parsed = jqLiteBuildFragment(html, context))) {
3169 return parsed.childNodes;
3170 }
3171
3172 return [];
3173}
3174
3175function jqLiteWrapNode(node, wrapper) {
3176 var parent = node.parentNode;

Callers 1

JQLiteFunction · 0.70

Calls 1

jqLiteBuildFragmentFunction · 0.70

Tested by

no test coverage detected