News for hackers. Stuff that matters.
Re:Browser-require.js brings "require" to the browser (just ... by arthurschreiber on Monday January 31, 2011 @10:48AM (#2161814)
The main difference between this and other solutions like RequireJS is the fact that you don't have to wrap your CommonJS modules in callbacks and thus could in theory use them "unmodified".
Re:Browser-require.js brings "require" to the browser (just ... by marcuswestin on Monday January 31, 2011 @10:51AM (#2161831)
That's one of the big differences - I'd say the other big difference is that it comes with a compiler that bundles all your required modules into a single javascript file for production
Re:Browser-require.js brings "require" to the browser (just ... by arthurschreiber on Monday January 31, 2011 @10:59AM (#2161882)
RequireJS also has it's own compiler.
Re:Browser-require.js brings "require" to the browser (just ... by marcuswestin on Monday January 31, 2011 @11:06AM (#2161928)
Did not know that! :P

I guess browser-require will still be useful, since you can import the same files in node and in the browser