removed unessecary change
This commit is contained in:
parent
34c44a29c6
commit
8146725f89
1 changed files with 3 additions and 4 deletions
|
|
@ -209,15 +209,14 @@ export const samples = async (sampleMap, baseUrl = sampleMap._base || '', option
|
||||||
const { prebake, tag } = options;
|
const { prebake, tag } = options;
|
||||||
processSampleMap(
|
processSampleMap(
|
||||||
sampleMap,
|
sampleMap,
|
||||||
(key, value) => {
|
(key, value) =>
|
||||||
return registerSound(key, (t, hapValue, onended) => onTriggerSample(t, hapValue, onended, value), {
|
registerSound(key, (t, hapValue, onended) => onTriggerSample(t, hapValue, onended, value), {
|
||||||
type: 'sample',
|
type: 'sample',
|
||||||
samples: value,
|
samples: value,
|
||||||
baseUrl,
|
baseUrl,
|
||||||
prebake,
|
prebake,
|
||||||
tag,
|
tag,
|
||||||
});
|
}),
|
||||||
},
|
|
||||||
baseUrl,
|
baseUrl,
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue