Re:CommonJS Is The Future For Rails JavaScript Packaging
by shubber on Saturday July 02, 2011 @08:17PM
(#2722717)
If only it were true. I started in on Sprockets to get my feet wet for Rails 3.1, and have to say I was disappointed. Sprockets is a textual concatenator, which makes it appropriate when you're writing short snippets throughout a project. By contrast, CommonJS (and requireJS and a slew of other implementations of asynchronous modules) implements well scoped modules, which have all kinds of boons.
[ Parent
| on HN ]
There are no comments on this comment yet.