summaryrefslogtreecommitdiffstats
path: root/src/js
diff options
context:
space:
mode:
authorHumberto Alfonso Díaz <humberto.alfonso@asvito.es>2019-10-14 22:53:20 +0200
committerLorenzo Tilve <ltilve@igalia.com>2020-02-04 09:42:15 +0100
commitfccc2cde5d9084151bf7afda3845da682af0f992 (patch)
treef62b6380b740f8b378094e2413d9932998264c02 /src/js
parentcf409e69e00bd6de612e295afd1f15d894bbe563 (diff)
BUGFIX Add missing API init
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 3b8ae97..a26f137 100644
--- a/src/js/app.js
+++ b/src/js/app.js
@@ -1,5 +1,5 @@
import Mustache from 'mustache';
-import { audiomixer } from 'agl-js-api';
+import { audiomixer, api } from 'agl-js-api';
import { setValue } from './sliders';
var template;
@@ -13,6 +13,7 @@ function render_sliders(sliders) {
}
export function init() {
+ api.init();
template = document.getElementById('slider-template').innerHTML;
Mustache.parse(template);