lint
This commit is contained in:
parent
c2d4b529f6
commit
6b8ee8ad11
1 changed files with 1 additions and 2 deletions
|
|
@ -17,8 +17,7 @@ import { loadBuffer } from './sampler.mjs';
|
|||
export const soundMap = map();
|
||||
|
||||
export function registerSound(key, onTrigger, data = {}) {
|
||||
key = key.toLowerCase().replace(/\s+/g, '_')
|
||||
console.info(key, data)
|
||||
key = key.toLowerCase().replace(/\s+/g, '_');
|
||||
soundMap.setKey(key, { onTrigger, data });
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue