Skip to content

Commit

Permalink
fix: remove obsolete check
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisguttandin committed Mar 23, 2018
1 parent 49a68e0 commit f142d8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/audio-contexts/minimal-base-audio-context.ts
Expand Up @@ -32,7 +32,7 @@ export class MinimalBaseAudioContext extends EventTarget implements IMinimalBase
}

public set onstatechange (value) {
this._context.onstatechange = (value === null) ? undefined : <any> value;
this._context.onstatechange = <any> value;
}

public get sampleRate () {
Expand Down

0 comments on commit f142d8a

Please sign in to comment.