gskinner/SoundJS — Issue #3: Filename-handling could be more flexible in TestAudioStall
Author: helloluis
Created: 2012-03-09 09:13:30+00:00
State: open

From line 1140-1144 of *sound.js*:

```javascript
var parts = target.id.split("_");

if(SoundJS.soundHash[parts[0]][parts[1]].loaded){
return;
}
```

The above code breaks if the target's ID is something like "beep_long_1" because you end up splitting on underscores and thus not having the appropriate key to look up in SoundJS.soundHash. (SoundJS also uses underscores to differentiate sound instances, which may or may not be the most durable way to do that.) I considered patching, but since you're planning a big overhaul, this code might not even exist in your edge version anymore, so this is more of an FYI.