News for hackers. Stuff that matters.
Re:CommonJS Is The Future For Rails JavaScript Packaging by shubber on Saturday July 02, 2011 @08:13PM (#2722711)
Sprockets, as it exists, can't do module loading: it's a Javascript concatenator. All it does it copy the contents of <filename.js> in place of //= require 'filename.js'.

Gotta, say, I just spent a chunk of time converting a project from one to the other (actually RequireJS), and I really think it was the right move.

There are no comments on this comment yet.