MultiSampler accepts the sample names as numbers

This commit is contained in:
Yotam Mann 2014-10-02 13:16:17 -04:00
parent 527ce958cf
commit bb17651349

View file

@ -53,10 +53,8 @@ function(Tone){
loaded : 0
};
//get the count
for (var s in samples){
if (typeof samples[s] === "string"){
loadCounter.total++;
}
for (var s in samples){ //jshint ignore:line
loadCounter.total++;
}
//the function to invoke when a sample is loaded
var onSampleLoad = function(){