Re:Announcing CoffeeScript 2
by no_wizard on Monday September 18, 2017 @04:44PM
(#15279376)
Good point. I guess I'm not making myself clear. If I'm working with jQuery, for instance, do I need to do anything different than I do now in terms of invoking say, the simplest thing, $(function({_..code here.._}) (or for you old schoolers $document.ready({_..code here.._}). Thats what I guess I mean. Maybe I just need to toy with it. I suspect I might be overthinking this in my head.
[ Parent
| on HN ]
Its actually a great example of Coffeesctipt conciseness, the jQuery ready function is just $ ->