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

Function jqLiteAcceptsData

lib/test/angular/1.4.3/angular.js:2674–2679  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

2672}
2673
2674function jqLiteAcceptsData(node) {
2675 // The window object can accept data but has no nodeType
2676 // Otherwise we are only interested in elements (1) and documents (9)
2677 var nodeType = node.nodeType;
2678 return nodeType === NODE_TYPE_ELEMENT || !nodeType || nodeType === NODE_TYPE_DOCUMENT;
2679}
2680
2681function jqLiteHasData(node) {
2682 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