diff options
| author | s-ol <s-ol@users.noreply.github.com> | 2020-04-12 16:15:32 +0000 |
|---|---|---|
| committer | s-ol <s-ol@users.noreply.github.com> | 2020-04-12 16:15:39 +0000 |
| commit | 75090be067b9f28a2546334127b2d08bb367ea58 (patch) | |
| tree | 358f4dac12ce7547993dd43c03bbc981ae64be9b | |
| parent | remove source files in log (traceback format isn't portable) (diff) | |
| download | alive-75090be067b9f28a2546334127b2d08bb367ea58.tar.gz alive-75090be067b9f28a2546334127b2d08bb367ea58.zip | |
lib/sc: fix unpack on certain Lua versionsv0.1-rc2
reported by @ariutti and @v1a1l1e1
| -rw-r--r-- | core/registry.moon | 2 | ||||
| -rw-r--r-- | lib/midi/launchctl.moon | 1 | ||||
| -rw-r--r-- | lib/sc.moon | 2 |
3 files changed, 2 insertions, 3 deletions
diff --git a/core/registry.moon b/core/registry.moon index 53d2d3a..a0134ec 100644 --- a/core/registry.moon +++ b/core/registry.moon @@ -5,8 +5,6 @@ import Result from require 'core.result' import Error from require 'core.error' -unpack or= table.unpack - class Registry --- internals for `Tag` -- @section internals diff --git a/lib/midi/launchctl.moon b/lib/midi/launchctl.moon index 1e33cc4..cbabe5a 100644 --- a/lib/midi/launchctl.moon +++ b/lib/midi/launchctl.moon @@ -2,7 +2,6 @@ import ValueStream, EventStream, Op, Input, val, evt from require 'core.base' import apply_range, bit from require 'lib.midi.core' import bor, lshift from bit -unpack or= table.unpack color = (r, g) -> bit.bor 12, r, (bit.lshift g, 4) cc_seq = ValueStream.meta diff --git a/lib/sc.moon b/lib/sc.moon index 5d68eee..fb9c781 100644 --- a/lib/sc.moon +++ b/lib/sc.moon @@ -2,6 +2,8 @@ import Op, ValueStream, Input, val, evt from require 'core.base' import pack from require 'osc' import dns, udp from require 'socket' +unpack or= table.unpack + play = ValueStream.meta meta: name: 'play' |
