diff options
author | Humberto Alfonso Díaz <humberto.alfonso@asvito.es> | 2019-10-14 23:15:14 +0200 |
---|---|---|
committer | Lorenzo Tilve <ltilve@igalia.com> | 2020-02-04 20:03:08 +0100 |
commit | 99b6b053fc4edfceb7a73f741a21c8b6a1b8464d (patch) | |
tree | fa7f7d89fb314f4932bb16ba01a7d3cfdb2d46c8 /src | |
parent | 020825740296db5a74864e1cd62978c732b079f3 (diff) |
BUGFIX Add missing api init
Diffstat (limited to 'src')
-rw-r--r-- | src/js/app.js | 3 |
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(); |