MCPcopy Create free account
hub / github.com/apache/pouchdb / guardedConsole

Function guardedConsole

lib/index.js:421–427  ·  view source on GitHub ↗
(method)

Source from the content-addressed store, hash-verified

419}
420
421function guardedConsole(method) {
422 /* istanbul ignore else */
423 if (typeof console !== 'undefined' && typeof console[method] === 'function') {
424 var args = Array.prototype.slice.call(arguments, 1);
425 console[method].apply(console, args);
426 }
427}
428
429function randomNumber(min, max) {
430 var maxTimeout = 600000; // Hard-coded default of 10 minutes

Callers 12

isRemoteFunction · 0.70
tryCatchInChangeListenerFunction · 0.70
doChangesMethod · 0.70
_setupMethod · 0.70
parseAdapterFunction · 0.70
emitErrorFunction · 0.70
indexeddb.jsFile · 0.50
find.jsFile · 0.50
localstorage.jsFile · 0.50
websql.jsFile · 0.50
memory.jsFile · 0.50
fruitdown.jsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…