Skip to content

Commit

Permalink
ES6: migrated "media"
Browse files Browse the repository at this point in the history
  • Loading branch information
Gregor Herdmann committed Apr 14, 2017
1 parent 8d144ee commit e1a27ba
Show file tree
Hide file tree
Showing 25 changed files with 1,862 additions and 1,478 deletions.
2 changes: 1 addition & 1 deletion app/script/audio/AudioError.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
window.z = window.z || {};
window.z.audio = z.audio || {};

window.z.audio.AudioError = class AudioError extends Error {
z.audio.AudioError = class AudioError extends Error {
constructor(type) {
super();
this.name = this.constructor.name;
Expand Down
26 changes: 0 additions & 26 deletions app/script/media/MediaDeviceType.coffee

This file was deleted.

30 changes: 30 additions & 0 deletions app/script/media/MediaDeviceType.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/*
* Wire
* Copyright (C) 2017 Wire Swiss GmbH
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see http://www.gnu.org/licenses/.
*
*/

'use strict';

window.z = window.z || {};
window.z.media = z.media || {};

z.media.MediaDeviceType = {
AUDIO_INPUT: 'audioinput',
AUDIO_OUTPUT: 'audiooutput',
SCREEN_INPUT: 'screeninput',
VIDEO_INPUT: 'videoinput',
};
270 changes: 0 additions & 270 deletions app/script/media/MediaDevicesHandler.coffee

This file was deleted.

Loading

0 comments on commit e1a27ba

Please sign in to comment.