Re:DefineJS – A lightweight implementation of AMD module format
by fixjs on Sunday November 16, 2014 @08:14AM
(#8614132)
@prayerslayer: nothing wrong with require.js, the main goal is to create a more portable alternative and more importantly to add couple of new and nonstandard ways of modular coding as a proposal for the JavaScript community.
[ Parent
| on HN ]
Re:DefineJS – A lightweight implementation of AMD module format
by arcatek on Sunday November 16, 2014 @09:12AM
(#8614233)
Examples would be nice. I'm not especially a require fanboy, I use almost exclusively ES6 modules nowadays, but i'm not sure to understand what your library brings.
Re:DefineJS – A lightweight implementation of AMD module format
by burntsushi on Sunday November 16, 2014 @08:32AM
(#8614168)
Could you please explain in more technical detail? What specifically are the trade-offs between DefineJS and RequireJS?
Re:DefineJS – A lightweight implementation of AMD module format
by Theyeard on Sunday November 16, 2014 @10:29AM
(#8614393)
I'd rather see technical details too plus maybe a comparison between require.js/almond and define.js. Currently it's not clear what are the advantages of define.js.
N.b. another AMD loader (30 lines of JS): https://curiosity-driven.org/amd-loader-with-promises