diff options
author | Luciano Iam <lucianito@gmail.com> | 2020-04-12 11:29:01 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2020-04-13 16:29:39 +0200 |
commit | a51ce18334227653b0cb22fa86f9735cfee02e10 (patch) | |
tree | 71caa78979324ae02388f4fe7f35f7245c9bc67f /share/web_surfaces/shared | |
parent | 198590bc94ccd49151af6dcf691fb93de432b0ee (diff) |
WebSockets: rename ArdourMessageChannel to MessageChannel
Diffstat (limited to 'share/web_surfaces/shared')
-rw-r--r-- | share/web_surfaces/shared/ardour.js | 4 | ||||
-rw-r--r-- | share/web_surfaces/shared/channel.js | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/share/web_surfaces/shared/ardour.js b/share/web_surfaces/shared/ardour.js index f9fc83f290..c80ca00181 100644 --- a/share/web_surfaces/shared/ardour.js +++ b/share/web_surfaces/shared/ardour.js @@ -16,12 +16,12 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -import { ArdourMessageChannel } from './channel.js'; +import { MessageChannel } from './channel.js'; export class Ardour { constructor () { - this.channel = new ArdourMessageChannel(location.host); + this.channel = new MessageChannel(location.host); } async open () { diff --git a/share/web_surfaces/shared/channel.js b/share/web_surfaces/shared/channel.js index c730458817..ada2485b7f 100644 --- a/share/web_surfaces/shared/channel.js +++ b/share/web_surfaces/shared/channel.js @@ -18,7 +18,7 @@ const JSON_INF = 1.0e+128; -export class ArdourMessageChannel { +export class MessageChannel { constructor (host) { // https://developer.mozilla.org/en-US/docs/Web/API/URL/host |