Top "Requirejs" questions

RequireJS is a JavaScript file and module loader.

Testing with Karma and RequireJS with files in CommonJS syntax

I'm working on an angular application that is written in CommonJS syntax and uses a grunt task with the grunt-contrib-requirejs …

javascript requirejs amd commonjs karma-runner
When to use Requirejs and when to use bundled javascript?

This may be a dumb question for web guys. But I am a little confused over this. Now, I have …

javascript requirejs servicestack
RequireJS: Multiple main.js?

I have been building a single page app using requireJS and so far loving it. I have come to the …

javascript module requirejs
How to use precompiled templates in Handlebars with RequireJS?

I'd like to precompile my Handlebars templates, but I'm not sure how this works in development mode. Is it common …

requirejs handlebars.js client-side-templating
Basic RequireJS Help - How do I call / define a function? Using onclick and jquery as well

Help! I'm super confused guys... I have no idea what I'm doing I've been looking at RequireJS and AMD tutorials &…

javascript jquery requirejs amd js-amd
How to use RequireJS build profile + r.js in a multi-page project

I am currently learning RequireJS fundamentals and have some questions regarding a build profile, main files, and use of RequireJS …

javascript requirejs
How to use UMD in browser without any additional dependencies

Suppose I have an UMD module like this (saved in 'js/mymodule.js'): (function (global, factory) { typeof exports === 'object' &&…

javascript html requirejs systemjs commonjs
How to use the domReady requireJS plugin correctly

Here is my main.js before using domReady: require.config({ paths : { loader : 'libs/backbone/loader', jQuery : 'libs/jquery/jquery-module', Underscore : …

javascript requirejs domready
requireJS configuration for Modernizr

I am trying to load the Modernizr feature detects dynamically with requireJS. As Modernizr has built in AMD support this …

javascript requirejs modernizr
Module name "fs" has not been loaded yet for context error in NodeJs

I have been trying to use sql.js with NodeJs using WebStorm. I configured the NodeJs in WebStorm and tried …

node.js requirejs webstorm sql.js