MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / open

Function open

src/plugins/browser/index.js:6–12  ·  view source on GitHub ↗
(url, isConsole = false)

Source from the content-addressed store, hash-verified

4const SERVICE = 'Browser';
5
6function open(url, isConsole = false) {
7 const ACTION = 'open';
8 const success = () => { };
9 const error = () => { };
10 const theme = themes.get(settings.value.appTheme).toJSON('hex');
11 cordova.exec(success, error, SERVICE, ACTION, [url, theme, isConsole]);
12}
13
14export default {
15 open,

Callers

nothing calls this directly

Calls 3

execMethod · 0.65
toJSONMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected