Closed akinsho closed 3 years ago
Thanks! I haven't tested it but it doesn't look right to me. Will check soon
https://github.com/camspiers/snap/commit/2e65f787e45c525e330c6b8d091164b5ed1fc4f8
Closed in ^ apologies for changing the way you implemented it, but I think yours has a bug, but the bug I introduced is bad so it needs to be fixed immediately.
Awesome, thanks for the fix @camspiers 👍🏾. No worries mine did have a bug and I was still looking around for the right syntax to make it work
This PR allows the third argument to
snap.map
to benil
in case a user does not want to create acommand
for a particular mapping. Without this change, the user must at least pass in an empty table.