amdjs / amdjs-api

Houses the Asynchronous Module Definition API
https://groups.google.com/group/amd-implement
4.31k stars 499 forks source link

Why define.amd = { jQuery: true}; #31

Closed chennas closed 7 years ago

chennas commented 7 years ago

Hi Team,

Could you please explain us why in the require.js file the below define.amd is set to jquery.

define.amd = { jQuery: true }; I could not understand why it is set as true the above lines of code by default, when I download the require.js file from the official website.

Thanks in advance.

tbranyen commented 7 years ago

Documented in detail here: https://github.com/amdjs/amdjs-api/wiki/jQuery-and-AMD