Removing console.log and unused files
This commit is contained in:
parent
0c3b9ccfbf
commit
fac6574cb5
6 changed files with 1 additions and 333 deletions
|
@ -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();
|
||||
|
|
|
@ -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);
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue