MCPcopy
hub / github.com/zxlie/FeHelper / resolve

Function resolve

apps/popup/theme-boot.js:77–86  ·  view source on GitHub ↗
(settings)

Source from the content-addressed store, hash-verified

75
76 var resolved = false;
77 var resolve = function (settings) {
78 if (resolved) {
79 return;
80 }
81 resolved = true;
82 settings = settings || {};
83 setLocalSetting(autoKey, settings[autoKey]);
84 setLocalSetting(alwaysKey, settings[alwaysKey]);
85 finish(settings);
86 };
87
88 try {
89 chrome.storage.local.get([autoKey, alwaysKey], resolve);

Callers 15

storageGetFunction · 0.70
storageSetFunction · 0.70
theme-boot.jsFile · 0.70
index.jsFile · 0.50
captureFullPageFunction · 0.50
getCoreWebVitalsFunction · 0.50
index.jsFile · 0.50
index.jsFile · 0.50
loadImageFunction · 0.50
getFunction · 0.50
setFunction · 0.50
removeFunction · 0.50

Calls 2

setLocalSettingFunction · 0.70
finishFunction · 0.70

Tested by

no test coverage detected