MCPcopy
hub / github.com/mongodb/node-mongodb-native / callback

Function callback

docs/js/scripts.js:113–129  ·  view source on GitHub ↗
(a)

Source from the content-addressed store, hash-verified

111 }
112
113 function callback(a) {
114 if (type == 'watch') {
115 $counter.html(addCommas(a.watchers));
116 } else {
117 if (type == 'fork') {
118 $counter.html(addCommas(a.forks));
119 } else {
120 if (type == 'follow') {
121 $counter.html(addCommas(a.followers));
122 }
123 }
124 }
125
126 if (count) {
127 $counter.css('display', 'inline-block');
128 }
129 }
130
131 function jsonp(url) {
132 var ctx = caches[url] || {};

Callers 15

jsonpFunction · 0.70
IframeFunction · 0.70
ButtonElementFunction · 0.70
waitForFileFunction · 0.50
_constructMethod · 0.50
handleErrorFunction · 0.50
checkDoneFunction · 0.50
isAbortedFunction · 0.50
createConnectionMethod · 0.50
_transformMethod · 0.50
withLockFunction · 0.50
_destroyMethod · 0.50

Calls 1

addCommasFunction · 0.85

Tested by

no test coverage detected