From 80729c5fa794054664192347496d0634bfde74c0 Mon Sep 17 00:00:00 2001 From: Jane Petrovna Date: Fri, 8 Oct 2021 01:14:04 -0400 Subject: [PATCH] fix --- lights.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/lights.js b/lights.js index 5902e62..06f5799 100644 --- a/lights.js +++ b/lights.js @@ -122,17 +122,17 @@ export const functions = { requires_arg1: true, requires_arg2: true, convert_args: true, + } + ), + slide: new Function( + (index, arg1, arg2) => { + return (num_ticks + arg2) % 255; }, - slide: new Function( - (index, arg1, arg2) => { - return (num_ticks + arg2) % 255; - }, - { - requires_arg1: true, - requires_arg2: true, - convert_args: true - } - ) + { + requires_arg1: true, + requires_arg2: true, + convert_args: true, + } ), };