MCPcopy Create free account
hub / github.com/EricSimons/ionic-course / jqLiteAcceptsData

Function jqLiteAcceptsData

code/songhop/www/lib/angular/angular.js:2413–2418  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

2411}
2412
2413function jqLiteAcceptsData(node) {
2414 // The window object can accept data but has no nodeType
2415 // Otherwise we are only interested in elements (1) and documents (9)
2416 var nodeType = node.nodeType;
2417 return nodeType === NODE_TYPE_ELEMENT || !nodeType || nodeType === NODE_TYPE_DOCUMENT;
2418}
2419
2420function jqLiteBuildFragment(html, context) {
2421 var tmp, tag, wrap,

Callers 2

jqLiteDataFunction · 0.70
angular.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected