MCPcopy Create free account
hub / github.com/angular-ui/ui-router / jqLiteParseHTML

Function jqLiteParseHTML

test/angular/1.2/angular.js:2356–2365  ·  view source on GitHub ↗
(html, context)

Source from the content-addressed store, hash-verified

2354}
2355
2356function jqLiteParseHTML(html, context) {
2357 context = context || document;
2358 var parsed;
2359
2360 if ((parsed = SINGLE_TAG_REGEXP.exec(html))) {
2361 return [context.createElement(parsed[1])];
2362 }
2363
2364 return jqLiteBuildFragment(html, context);
2365}
2366
2367/////////////////////////////////////////////
2368function JQLite(element) {

Callers 1

JQLiteFunction · 0.70

Calls 1

jqLiteBuildFragmentFunction · 0.70

Tested by

no test coverage detected