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

Function link

lib/test/angular/1.4.3/angular.js:6007–6012  ·  view source on GitHub ↗

* bidirectionally links two entries of the LRU linked list

(nextEntry, prevEntry)

Source from the content-addressed store, hash-verified

6005 * bidirectionally links two entries of the LRU linked list
6006 */
6007 function link(nextEntry, prevEntry) {
6008 if (nextEntry != prevEntry) {
6009 if (nextEntry) nextEntry.p = prevEntry; //p stands for previous, 'prev' didn't minify
6010 if (prevEntry) prevEntry.n = nextEntry; //n stands for next, 'next' didn't minify
6011 }
6012 }
6013 }
6014
6015

Callers 2

cacheFactoryFunction · 0.70
refreshFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected