Re:CommonJS Is The Future For Rails JavaScript Packaging
by joeyespo on Saturday July 02, 2011 @01:48PM
(#2722037)
I could be wrong, but I imagine he's referring to the module concept. Not CommonJS itself. (Or perhaps referring to skulpt.org, but I doubt that.)
[ Parent
| on HN ]
Re:CommonJS Is The Future For Rails JavaScript Packaging
by maccman on Saturday July 02, 2011 @02:05PM
(#2722089)
Yes, that's correct. Importing is similar to require(), although there's no explicit exporting.