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, + } ), };