Top "Requirejs" questions

RequireJS is a JavaScript file and module loader.

Backbone.js - How to save model by form and post to server

I'm n00b in BackboneJS/RequireJS and I'm developing an web app that use a RESTful API. So I've a …

post backbone.js requirejs backbone-model
RequireJS: Module name __ has not been loaded yet for context, but only for SOME, not all

Now I know this question has been asked a million times before, but I still couldn't figure it out. I …

javascript requirejs amd js-amd
require.js: Access all loaded modules

Is there any way to access all loaded modules of require.js? Background: I want to automatically call an init() …

javascript requirejs js-amd
Is it possible to stop requireJS from adding the .js file extension automatically?

I'm using requireJS to load scripts. It has this detail in the docs: The path that is used for a …

javascript requirejs
Using Require.js without data-main

Can I use Require.js in development without using the data-main attribute to load in my initial script? ie. <…

javascript requirejs
RequireJS: Is there a way to achieve multiple base URLs?

I want to use a separate domain as a JavaScript framework and it will create a base require config which …

javascript requirejs
Injecting variables into webpack

I'm trying to inject a variable into each module within my webpack bundle in order to have debugging information for …

javascript requirejs commonjs webpack
Why did Underscore.js remove support for AMD?

1.3.0 — Jan. 11, 2012 Removed AMD (RequireJS) support from Underscore. If you'd like to use Underscore with RequireJS, you can load it as …

javascript underscore.js requirejs js-amd
TypeError: require.config is not a function

I am using require.js as part of a brunch project. This code is throwing the error: ;require.config({ // require.…

javascript node.js requirejs brunch
Load requireJS module inline the HTML body?

I am integrating RequireJS in a CMS so I placed this on the bottom of my page template: <html&…

asynchronous javascript requirejs js-amd