summaryrefslogtreecommitdiffstats
path: root/src/js
diff options
context:
space:
mode:
Diffstat (limited to 'src/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);
+ });
+}
+
+