Skip to content

Commit 75090be

Browse files
committed
lib/sc: fix unpack on certain Lua versions
reported by @ariutti and @v1a1l1e1
1 parent 05df508 commit 75090be

3 files changed

Lines changed: 2 additions & 3 deletions

File tree

core/registry.moon

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
import Result from require 'core.result'
66
import Error from require 'core.error'
77

8-
unpack or= table.unpack
9-
108
class Registry
119
--- internals for `Tag`
1210
-- @section internals

lib/midi/launchctl.moon

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import ValueStream, EventStream, Op, Input, val, evt from require 'core.base'
22
import apply_range, bit from require 'lib.midi.core'
33
import bor, lshift from bit
44

5-
unpack or= table.unpack
65
color = (r, g) -> bit.bor 12, r, (bit.lshift g, 4)
76

87
cc_seq = ValueStream.meta

lib/sc.moon

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ import Op, ValueStream, Input, val, evt from require 'core.base'
22
import pack from require 'osc'
33
import dns, udp from require 'socket'
44

5+
unpack or= table.unpack
6+
57
play = ValueStream.meta
68
meta:
79
name: 'play'

0 commit comments

Comments
 (0)