3 ms·
I'm really liking the idea of having lots of new $ instead of chaining/burying things like jQuery does. Most of the functions are bareboned but as a concept it
by arkitaip 13y ago
I'm really liking the idea of having lots of new $ instead of chaining/burying things like jQuery does. Most of the functions are bareboned but as a concept it looks interesting.
- agumonkey 13y agoWhile he's at it with the Zed-ing he could have made a z. module or even prefixed all functions with 'z'+CamelCase. '$' is cute as a root wrapper for chains but $map($filter($each.. $siblings, $http(..))) gets heavy quick IMO.
- deckiedan 13y agoThe reason jQuery (and _.js, and others) do this is so that you minimize the number of global variables/functions used.
- rtpg 13y agoI love method chaining though, not having it is a huge drawback for me.