MCPcopy
hub / github.com/mayswind/AriaNg / setOption

Function setOption

src/scripts/services/ariaNgSettingService.js:197–202  ·  view source on GitHub ↗
(key, value)

Source from the content-addressed store, hash-verified

195 };
196
197 var setOption = function (key, value) {
198 var options = getOptions();
199 options[key] = value;
200
201 setOptions(options);
202 };
203
204 var initRpcSettingWithDefaultHostAndProtocol = function (setting) {
205 setting.rpcHost = getDefaultRpcHost();

Callers 1

Calls 2

getOptionsFunction · 0.85
setOptionsFunction · 0.70

Tested by

no test coverage detected