diff options
author | Luciano Iam <lucianito@gmail.com> | 2020-04-14 09:53:25 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2020-04-17 20:15:10 +0200 |
commit | 2ba8dab95e10596ac88539a74e47024836138019 (patch) | |
tree | 77e96abf8eee3767804476a1f0fa4df655effc23 /share/web_surfaces/index/main.js | |
parent | b9674115b7d3780164ed30e4151984de78b904e7 (diff) |
WebSockets: update JS client and demo
avoid hardcoded node name strings in mixer-demo
improve mixer-demo design
split ardour.js client into control and metadata mixins
rename JS client class Ardour to ArdourClient
JS client improve mixin implementation
JS client improve manifest parser
NO-OP whitespace and comments
NO-OP update websurface manifest versions
add Ardour icon in mixer-demo
improve mixer-demo scrolling on touch screens
Diffstat (limited to 'share/web_surfaces/index/main.js')
-rw-r--r-- | share/web_surfaces/index/main.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/web_surfaces/index/main.js b/share/web_surfaces/index/main.js index 2dcb59e654..3594268991 100644 --- a/share/web_surfaces/index/main.js +++ b/share/web_surfaces/index/main.js @@ -16,13 +16,13 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -import { Ardour } from '/shared/ardour.js'; +import { ArdourClient } from '/shared/ardour.js'; (() => { async function main () { try { - const surfaces = await new Ardour().getAvailableSurfaces(); + const surfaces = await new ArdourClient().getAvailableSurfaces(); printSurfaces(surfaces); } catch (err) { printError(`Error loading surfaces list: ${err.message}`); |