From 8f6adec59eabf9a8727fb7461cad1dee8b2acbc2 Mon Sep 17 00:00:00 2001 From: Jane Petrovna Date: Thu, 27 May 2021 14:21:54 -0400 Subject: [PATCH] asd --- lights.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lights.js b/lights.js index 78990a2..6295e08 100644 --- a/lights.js +++ b/lights.js @@ -37,7 +37,7 @@ export function set_pattern(pat) { pattern = pat; } -let functions = { +export const functions = { random: (index, args, prev) => { return Math.floor(Math.random() * 256) }, constant: (index, args, prev) => { return args; }, modulo: (index, args, prev) => { return prev % args; }, @@ -47,8 +47,6 @@ let functions = { subtract: (index, args, prev) => { return prev - args; } } -export const functions; - function tick_pattern() { // do the parsing stuff here log.debug("TICKING PATTERN")