diff options
author | Jose Dapena Paz <jdapena@igalia.com> | 2022-02-26 12:16:16 +0100 |
---|---|---|
committer | Jose Dapena Paz <jdapena@igalia.com> | 2022-03-01 18:04:03 +0100 |
commit | 8ad6b022196ec689eed08c0f3315a53723d4af0c (patch) | |
tree | ad749ca05d0c3948beec81d4f0c3f3a852e8456a /src/js/network.js | |
parent | 48970567f1943fb70ef1526827c21548d23695e7 (diff) |
Migrate to new application framework
First, move to use the appService API added as injection in AGL
chromium. Then, added stubs for the network and weather APIs as there
is no API available right now for them.
Bug-AGL: SPEC-4250
Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
Change-Id: I974097edcef6318585e4e79360dbec6fea7cf480
Diffstat (limited to 'src/js/network.js')
-rw-r--r-- | src/js/network.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/js/network.js b/src/js/network.js index 3e1caad..054309e 100644 --- a/src/js/network.js +++ b/src/js/network.js @@ -1,5 +1,5 @@ import { load as load_template } from './templates'; -import { network } from 'agl-js-api'; +import * as network from './agl_stubs_network'; import Mustache from 'mustache'; var configjson = require('../config.json'); @@ -37,4 +37,4 @@ export function init(node) { network.on_global_state(function(result) { console.log('GLOBAL SATATE', result); }); -}
\ No newline at end of file +} |