BUGFIX Add missing API init
authorHumberto Alfonso Díaz <humberto.alfonso@asvito.es>
Mon, 14 Oct 2019 20:53:20 +0000 (22:53 +0200)
committerLorenzo Tilve <ltilve@igalia.com>
Tue, 4 Feb 2020 08:42:15 +0000 (09:42 +0100)
src/js/app.js

index 3b8ae97..a26f137 100644 (file)
@@ -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);