codeformat

This commit is contained in:
Felix Roos 2023-10-01 23:20:05 +02:00
parent 1909caf769
commit 6ca99e33ab
4 changed files with 24 additions and 45 deletions

View file

@ -1197,7 +1197,7 @@ const generic_params = [
];
// TODO: slice / splice https://www.youtube.com/watch?v=hKhPdO0RKDQ&list=PL2lW1zNIIwj3bDkh-Y3LUGDuRcoUigoDs&index=13
controls.createParam = function(names) {
controls.createParam = function (names) {
const name = Array.isArray(names) ? names[0] : names;
var withVal;
@ -1221,7 +1221,7 @@ controls.createParam = function(names) {
const func = (...pats) => sequence(...pats).withValue(withVal);
const setter = function(...pats) {
const setter = function (...pats) {
if (!pats.length) {
return this.fmap(withVal);
}