Skip to content

Commit

Permalink
Remove console log
Browse files Browse the repository at this point in the history
  • Loading branch information
Acylation committed Jul 28, 2023
1 parent 6441d09 commit 891d221
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,10 @@ export default class TWSoundPlugin extends Plugin {
// If the plugin hooks up any global DOM events (on parts of the app that doesn't belong to this plugin)
// Using this function will automatically remove the event listener when this plugin is disabled.
this.registerDomEvent(document, 'keydown', (evt: KeyboardEvent) => {
console.log('keypress', evt);
audioEl.src = buildPluginStaticResourceSrc(
this,
'resource/selectric-mode/selectric-type.wav'
);
console.log(audioEl);
console.log(audioEl.src);
audioEl.play();
});
}
Expand Down

0 comments on commit 891d221

Please sign in to comment.