Skip to content

Commit

Permalink
fix export AudioRecorder (RocketChat#13192)
Browse files Browse the repository at this point in the history
Regression: Fix export AudioRecorder
  • Loading branch information
MarcosSpessatto authored and rodrigok committed Jan 19, 2019
1 parent a3ae087 commit b0e0e78
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// TODO: embed Recorder class here
// TODO: create the worker for mp3 encoding on-the-fly
AudioRecorder = new (class AudioRecorder { //eslint-disable-line
export const AudioRecorder = new (class AudioRecorder {
start(cb) {
window.audioContext = new (window.AudioContext || window.webkitAudioContext);

Expand Down

0 comments on commit b0e0e78

Please sign in to comment.