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

Function jqLiteParseHTML

lib/test/angular/1.6.7/angular.js:3184–3197  ·  view source on GitHub ↗
(html, context)

Source from the content-addressed store, hash-verified

3182}
3183
3184function jqLiteParseHTML(html, context) {
3185 context = context || window.document;
3186 var parsed;
3187
3188 if ((parsed = SINGLE_TAG_REGEXP.exec(html))) {
3189 return [context.createElement(parsed[1])];
3190 }
3191
3192 if ((parsed = jqLiteBuildFragment(html, context))) {
3193 return parsed.childNodes;
3194 }
3195
3196 return [];
3197}
3198
3199function jqLiteWrapNode(node, wrapper) {
3200 var parent = node.parentNode;

Callers 1

JQLiteFunction · 0.70

Calls 1

jqLiteBuildFragmentFunction · 0.70

Tested by

no test coverage detected