forgot commas

This commit is contained in:
jane 2021-05-26 19:52:58 -04:00
parent b4b14c6c08
commit 5ae12454eb

View file

@ -40,8 +40,8 @@ export function set_pattern(pat) {
let functions = { let functions = {
random: (index, args, prev) => { return Math.floor(Math.random() * 256) }, random: (index, args, prev) => { return Math.floor(Math.random() * 256) },
constant: (index, args, prev) => { return args; }, constant: (index, args, prev) => { return args; },
modulo: (index, args, prev) => { return prev % args; } modulo: (index, args, prev) => { return prev % args; },
move: (index, args, prev) => { targets[args] = prev; return prev; } move: (index, args, prev) => { targets[args] = prev; return prev; },
swap: (index, args, prev) => { let temp = targets[args]; targets[args] = prev; return temp; } swap: (index, args, prev) => { let temp = targets[args]; targets[args] = prev; return temp; }
} }