MCPcopy
hub / github.com/requirejs/requirejs / findTarget

Function findTarget

tests/doh/_browserRunner.js:92–100  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

90 }
91
92 var findTarget = function(n){
93 while(n && !n.getAttribute('_target')){
94 n=n.parentNode;
95 if(!n.getAttribute){
96 n=null;
97 }
98 }
99 return n;
100 }
101
102 doh._jumpToLog = function(e){
103 //console.log(e);

Callers 1

_browserRunner.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…