diff options
author | Jose Dapena Paz <jdapena@igalia.com> | 2022-05-31 17:35:36 +0200 |
---|---|---|
committer | Jose Dapena Paz <jdapena@igalia.com> | 2022-05-31 17:39:32 +0200 |
commit | 21f1f146d83cec898ef87c7ecc94abd96a9a36ac (patch) | |
tree | ac05f5f9169097fabb5a094f3078a6cf4fb4def5 /src/js/app.js | |
parent | 24e793a36f1e868761b44ecd43262f671772ff65 (diff) |
Adapt to new application framework
Drop usage of agl-js-api, and just provide a mock for audio
mixer calls.
Bug-AGL: SPEC-4248
Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
Change-Id: Ibf00a11338fe2226b3dc0b53037bb6801675e6c1
Diffstat (limited to 'src/js/app.js')
-rw-r--r-- | src/js/app.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/js/app.js b/src/js/app.js index a26f137..bfebf1c 100644 --- a/src/js/app.js +++ b/src/js/app.js @@ -1,5 +1,5 @@ import Mustache from 'mustache'; -import { audiomixer, api } from 'agl-js-api'; +import * as audiomixer from './agl_stubs_audiomixer'; import { setValue } from './sliders'; var template; @@ -13,7 +13,6 @@ function render_sliders(sliders) { } export function init() { - api.init(); template = document.getElementById('slider-template').innerHTML; Mustache.parse(template); |