MCPcopy Create free account
hub / github.com/EricSimons/ionic-course / link

Function link

code/songhop/www/lib/angular/angular.js:5610–5615  ·  view source on GitHub ↗

* bidirectionally links two entries of the LRU linked list

(nextEntry, prevEntry)

Source from the content-addressed store, hash-verified

5608 * bidirectionally links two entries of the LRU linked list
5609 */
5610 function link(nextEntry, prevEntry) {
5611 if (nextEntry != prevEntry) {
5612 if (nextEntry) nextEntry.p = prevEntry; //p stands for previous, 'prev' didn't minify
5613 if (prevEntry) prevEntry.n = nextEntry; //n stands for next, 'next' didn't minify
5614 }
5615 }
5616 }
5617
5618

Callers 4

cacheFactoryFunction · 0.70
refreshFunction · 0.70
$ViewDirectiveFillFunction · 0.50
$ViewDirectiveFillFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected