aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/background.js
diff options
context:
space:
mode:
authorAntia Puentes <apuentes@igalia.com>2020-08-06 18:36:33 +0200
committerAntia Puentes <apuentes@igalia.com>2020-08-07 21:48:27 +0200
commit1d589e87874bc53b582cd9c4bd8413773cf03fc4 (patch)
treeeaacb6f01b9fe3d91c97a491b6246f8a143c8f97 /src/js/background.js
parent4f171f533e8b63e2de11718116cbdde3f4ec8c1e (diff)
Launch background applicationjellyfish_9.99.3jellyfish/9.99.39.99.3
Bug-AGL: SPEC-3497 Signed-off-by: Antia Puentes <apuentes@igalia.com> Change-Id: I328f231e499d0473e9296f5d95678b5a1f2e88d6
Diffstat (limited to 'src/js/background.js')
-rw-r--r--src/js/background.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/js/background.js b/src/js/background.js
new file mode 100644
index 0000000..38408ed
--- /dev/null
+++ b/src/js/background.js
@@ -0,0 +1,11 @@
+import { homescreen, afmMain } from 'agl-js-api';
+
+var configjson = require('../config.json');
+
+export function load() {
+ afmMain.start(configjson.background).then(function(result) {
+ console.log("loading background: " + result);
+ });
+}
+
+