3 ms·
Very cool! You might also want to check out sparkler, which uses macros to let you do this with a little better syntax: https://github.com/natefaubion/sparkler
by jlongster 12y ago
Very cool! You might also want to check out sparkler, which uses macros to let you do this with a little better syntax: https://github.com/natefaubion/sparkler https://github.com/natefaubion/sparkler
- unignorant 12y agoI'd heard of sparkler, but my impression was that macros prevent it from working with CoffeeScript. There's also matches.js, which is the deprecated precursor to sparkler: https://github.com/natefaubion/matches.js https://github.com/natefaubion/matches.js