Top "Amd" questions

The Asynchronous Module Definition (AMD) API specifies a mechanism for defining modules such that the module and its dependencies can be asynchronously loaded.

accessing global object when using requirejs

I know it's not recommended to use the global object and the whole idea behind using AMD is to avoid …

javascript requirejs amd
requireJS optional dependency

I'm adding AMD support to a javascript library I develop. This library may use jquery but it will still work …

javascript requirejs amd
supporting both CommonJS and AMD

Is there a way to create a javascript micro-library (a library that has no dependencies), that support all of the …

javascript amd commonjs
Can system.js replace require.js

I'm using requirejs in a large project. This project will soon be upgraded to angular2. Angular2 uses system.js, so …

requirejs amd systemjs
Dojo AMD: Can't call a function inside a require

I am really a newbie to dojo but as i started developing a new application with dojo version 1.7.2 i also …

dojo javascript-framework amd
Is the webpack style loader meant to load all css? Or just application specific css?

I'm trying to make my front-end design process more modular, and am exploring webpack. It supports a style loader, which …

javascript html css amd webpack
Where does the "use strict" go when using TypeScript and AMD Modules

I am using TypeScript version 1.0.1.0 When using TypeScript and AMD modules together, where exactly should I write the "use strict" …

requirejs typescript amd
How do I access module variables using requireJS?

I have been using Javascript for a while and I have just tried using modules and requireJS for the first …

javascript design-patterns requirejs amd modular
How to solve circular dependency in Require.js?

Basically, the idea is that "sub" module creates an object, and that object should be part of a utilities library …

javascript requirejs amd circular-dependency commonjs
How Can I Place RequireJS Config in Separate File and Make the r.js Optimizer Work?

Most examples for RequireJS setup, place the configuration object in the main.js entry point, something like this: //main.js …

javascript requirejs amd r.js