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

Function jqLiteAcceptsData

test/angular/1.4/angular.js:2749–2754  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

2747}
2748
2749function jqLiteAcceptsData(node) {
2750 // The window object can accept data but has no nodeType
2751 // Otherwise we are only interested in elements (1) and documents (9)
2752 var nodeType = node.nodeType;
2753 return nodeType === NODE_TYPE_ELEMENT || !nodeType || nodeType === NODE_TYPE_DOCUMENT;
2754}
2755
2756function jqLiteHasData(node) {
2757 for (var key in jqCache[node.ng339]) {

Callers 2

jqLiteDataFunction · 0.70
angular.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected