summaryrefslogtreecommitdiffstats
path: root/src/js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js')
-rw-r--r--src/js/app.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/js/app.js b/src/js/app.js
index 08ae599..22fc859 100644
--- a/src/js/app.js
+++ b/src/js/app.js
@@ -15,7 +15,7 @@
*/
import Mustache from 'mustache';
-import { afmMain } from 'agl-js-api';
+import { afmMain, api } from 'agl-js-api';
var configjson = require('../config.json');
var template;
@@ -78,6 +78,7 @@ export function launch(app) {
}
export function init() {
+ api.init();
template = document.getElementById('item-template').innerHTML;
Mustache.parse(template);
load_application_list();