MCPcopy Create free account
hub / github.com/cafebazaar/blacksmith / link

Function link

web/static/bower_components/angular/angular.js:6125–6130  ·  view source on GitHub ↗

* bidirectionally links two entries of the LRU linked list

(nextEntry, prevEntry)

Source from the content-addressed store, hash-verified

6123 * bidirectionally links two entries of the LRU linked list
6124 */
6125 function link(nextEntry, prevEntry) {
6126 if (nextEntry != prevEntry) {
6127 if (nextEntry) nextEntry.p = prevEntry; //p stands for previous, 'prev' didn't minify
6128 if (prevEntry) prevEntry.n = nextEntry; //n stands for next, 'next' didn't minify
6129 }
6130 }
6131 }
6132
6133

Callers 3

ngViewFillContentFactoryFunction · 0.85
cacheFactoryFunction · 0.85
refreshFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected