MCPcopy Create free account
hub / github.com/zxlie/FeHelper / _getOptions

Function _getOptions

apps/background/background.js:93–101  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

91 };
92
93 let _getOptions = function () {
94 return new Promise(resolve => {
95 try {
96 Settings.getOptions(opts => resolve(opts || {}));
97 } catch (_) {
98 resolve({});
99 }
100 });
101 };
102
103 let _saveContentForTab = function (tabId, withContent) {
104 if (!tabId || withContent === undefined || withContent === null) {

Callers 1

background.jsFile · 0.70

Calls 1

resolveFunction · 0.50

Tested by

no test coverage detected