Removing console.log and unused files

This commit is contained in:
David Négrier 2021-05-26 16:08:43 +02:00
parent 0c3b9ccfbf
commit fac6574cb5
6 changed files with 1 additions and 333 deletions

View file

@ -31,8 +31,7 @@ class SoundManager {
}
public stopSound(soundManager : BaseSoundManager,soundUrl : string){
console.log("stop "+ soundManager.get(soundUrl).key);
soundManager.get(soundUrl).stop();
}
}
export const soundManager = new SoundManager();
export const soundManager = new SoundManager();

View file

@ -81,7 +81,6 @@ export class Popup {
export class Sound {
constructor(private url: string) {
// TODO: send a "loadSound" event
window.parent.postMessage({
"type" : 'loadSound',
"data": {
@ -154,18 +153,6 @@ window.WA = {
}, '*');
},
/*playSound(url: string, config : SoundConfig) : string{
window.parent.postMessage({
"type" : 'playSound',
"data": {
url,
config
} as PlaySoundEvent
},'*');
return url;
},*/
loadSound(url: string) : Sound {
return new Sound(url);
},