MCPcopy Index your code
hub / github.com/angular-ui/ui-router / link

Function link

test/angular/1.2/angular.js:5075–5080  ·  view source on GitHub ↗

* bidirectionally links two entries of the LRU linked list

(nextEntry, prevEntry)

Source from the content-addressed store, hash-verified

5073 * bidirectionally links two entries of the LRU linked list
5074 */
5075 function link(nextEntry, prevEntry) {
5076 if (nextEntry != prevEntry) {
5077 if (nextEntry) nextEntry.p = prevEntry; //p stands for previous, 'prev' didn't minify
5078 if (prevEntry) prevEntry.n = nextEntry; //n stands for next, 'next' didn't minify
5079 }
5080 }
5081 }
5082
5083

Callers 2

cacheFactoryFunction · 0.70
refreshFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected