From: Humberto Alfonso Díaz Date: Mon, 14 Oct 2019 20:53:20 +0000 (+0200) Subject: BUGFIX Add missing API init X-Git-Tag: 8.99.5~3 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=fccc2cde5d9084151bf7afda3845da682af0f992;p=apps%2Fhtml5-mixer.git BUGFIX Add missing API init --- 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);