3 ms·
Nit: Client side JS has no module system. Check out requirejs: http://requirejs.org/ http://requirejs.org/ I've used it to handle both server-side (node) and
by rgarcia 15y ago
Nit: Client side JS has no module system.
Check out requirejs: http://requirejs.org/ http://requirejs.org/
I've used it to handle both server-side (node) and client-side module systems, and it's been great.
- karterk 15y agoYes, I am aware of requirejs. I was talking about native module support.
- MatthewPhillips 15y agoNative module support is a feature of Harmony and,it's pretty fantastic. I hope Node adopts this method of module loading as an alternative to require in the future. edit: phone keyboard typos