MCPcopy
hub / github.com/angular-ui/ui-router / jqLiteAcceptsData

Function jqLiteAcceptsData

test/angular/1.6/angular.js:3150–3155  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

3148}
3149
3150function jqLiteAcceptsData(node) {
3151 // The window object can accept data but has no nodeType
3152 // Otherwise we are only interested in elements (1) and documents (9)
3153 var nodeType = node.nodeType;
3154 return nodeType === NODE_TYPE_ELEMENT || !nodeType || nodeType === NODE_TYPE_DOCUMENT;
3155}
3156
3157function jqLiteHasData(node) {
3158 for (var key in jqCache[node.ng339]) {

Callers 3

jqLiteDealocFunction · 0.70
jqLiteDataFunction · 0.70
angular.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected