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

Function link

test/angular/1.4/angular.js:6384–6389  ·  view source on GitHub ↗

* bidirectionally links two entries of the LRU linked list

(nextEntry, prevEntry)

Source from the content-addressed store, hash-verified

6382 * bidirectionally links two entries of the LRU linked list
6383 */
6384 function link(nextEntry, prevEntry) {
6385 if (nextEntry != prevEntry) {
6386 if (nextEntry) nextEntry.p = prevEntry; //p stands for previous, 'prev' didn't minify
6387 if (prevEntry) prevEntry.n = nextEntry; //n stands for next, 'next' didn't minify
6388 }
6389 }
6390 }
6391
6392

Callers 3

cacheFactoryFunction · 0.70
refreshFunction · 0.70
$ViewDirectiveFillFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected