code format
This commit is contained in:
parent
207ce9cbec
commit
14be1ddf7f
1 changed files with 2 additions and 2 deletions
|
|
@ -97,8 +97,8 @@ export const xen = register('xen', function (scaleNameOrRatios, pat) {
|
||||||
return pat.withHap((hap) => {
|
return pat.withHap((hap) => {
|
||||||
const scale = getXenScale(scaleNameOrRatios);
|
const scale = getXenScale(scaleNameOrRatios);
|
||||||
let frequency = xenOffset(scale, parseNumeral(hap.value));
|
let frequency = xenOffset(scale, parseNumeral(hap.value));
|
||||||
// 10 is somewhat arbitrary
|
// 10 is somewhat arbitrary
|
||||||
frequency = parseFloat(frequency.toPrecision(10))
|
frequency = parseFloat(frequency.toPrecision(10));
|
||||||
return hap.withValue(() => frequency);
|
return hap.withValue(() => frequency);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue