requirejs / requirejs

A file and module loader for JavaScript
https://requirejs.org/
Other
12.93k stars 2.38k forks source link

docs: Update or remove AMD today section #1029

Open jrburke opened 10 years ago

jrburke commented 10 years ago

@tbranyen pointed out that http://requirejs.org/docs/whyamd.html#amdtoday is woefully out of date, particularly now that Backbone 1.1.1 supports it.

I traditionally have avoided those kinds of lists because it is hard to keep up manually, as the current state of that document shows, and I am concerned about proper gardening for a page that allows anyone to edit. There is also:

https://github.com/jrburke/requirejs/wiki/Sites-using-RequireJS

which is not so up to date either.

Maybe instead have an amdjs wiki page here:

https://github.com/amdjs/amdjs-api/wiki

and point to that for that "Sites using AMD". That would be good in general, to list the loader selection, and sites like facebook or twitter or TypeScript that have their own AMD compatible loaders/bundling APIs.

knutkj commented 10 years ago

Is it true that TypeScript has its own AMD compatible loader? Or did you mean that TypeScript has its own none AMD bundling API, the compiler switch:

--out FILE                    Concatenate and emit output to single file.
jrburke commented 10 years ago

I thought at one point TypeScript had its own loader, but that may have changed. Its compiler can output AMD though: https://typescript.codeplex.com/wikipage?title=Modules%20in%20TypeScript