4 ms·
Isn't that the point of http://requirejs.org/ http://requirejs.org/ and the AMD API - http://requirejs.org/docs/whyamd.html http://requirejs.org/docs/whyamd.htm
by basch 14y ago
Isn't that the point of http://requirejs.org/ http://requirejs.org/ and the AMD API - http://requirejs.org/docs/whyamd.html http://requirejs.org/docs/whyamd.html ? Why is there not more of a push for frameworks and libraries to be AMD compatible? The Dojo Toolkit is, and thus lets you load just what you need.
- munificent 14y agoDon't forget npm, and bower, and jam, and component, and ender, and volo, and... Really, it's only a matter of time before someone creates a JavaScript package manager manager so you can manage your package managers.
- basch 14y agoi think of it more as systemd than apt. calling it a package manager isn't all that accurate. Scroll down to the "Module Loaders" section at http://todomvc.com/ http://todomvc.com/ I don't see any of the products listed you mentioned. Notice that require.js works with Backbone.js, Ember.js, Knockout, AngularJS, Ember.js, Knockout, AngularJS, CanJS. TroopJS uses require.js. The only major competition it has is Thorax + Lumbar or Twitter's Flight. http://requirejs.org/docs/whyamd.html#amdtoday http://requirejs.org/docs/whyamd.html#amdtoday jQuery 1.7, Dojo 1.7, EmbedJS, Ender-associated modules like bonzo, qwery, bean and domready, Firebug 1.8+, and the BBC all use it or work with it.