MCPcopy Index your code
hub / github.com/nodejs/node / updateFromMessage

Function updateFromMessage

deps/v8/tools/link_clicker.extension/background.js:25–39  ·  view source on GitHub ↗
(msg)

Source from the content-addressed store, hash-verified

23
24 // ===========================================================================
25 function updateFromMessage(msg) {
26 console.log(msg);
27 minInterval = Number(msg.minInterval)
28 maxInterval = Number(msg.maxInterval);
29 if (maxInterval < minInterval) {
30 let tmpMin = Math.min(minInterval, maxInterval);
31 maxInterval = Math.max(minInterval, maxInterval);
32 minInterval = tmpMin;
33 }
34 pattern = new RegExp(msg.pattern);
35 enabled = Boolean(msg.enabled);
36 updateTabs();
37 scheduleIconAnimation();
38 return getValues();
39 }
40
41 function getValues() {
42 return {

Callers 1

background.jsFile · 0.70

Calls 6

updateTabsFunction · 0.85
scheduleIconAnimationFunction · 0.85
getValuesFunction · 0.70
logMethod · 0.45
minMethod · 0.45
maxMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…