¡@

Home 

javascript Programming Glossary: require.config

Loading Highcharts via shim using RequireJS and maintaining jQuery dependency

http://stackoverflow.com/questions/10907519/loading-highcharts-via-shim-using-requirejs-and-maintaining-jquery-dependency

methods it depends on. The require config looks like so require.config baseUrl js shim 'libs highcharts highcharts.src.js' deps 'jquery'.. requirejs ' define function as expected. Here's my example require.config object require.config baseUrl js paths jquery 'jquery' socketio.. as expected. Here's my example require.config object require.config baseUrl js paths jquery 'jquery' socketio 'http localhost 8000..

Expire cache on require.js data-main

http://stackoverflow.com/questions/11088909/expire-cache-on-require-js-data-main

I also tried adding urlArgs bust new Date .getTime to require.config but it appears to have no effect. I also tried adding the same.. share improve this question How are you defining your require.config I think for it to take effect before you import require.js you..

How can I mock dependencies for unit testing in RequireJS?

http://stackoverflow.com/questions/11439540/how-can-i-mock-dependencies-for-unit-testing-in-requirejs

key stubName define stubName function return value return require.config context context_ cnt map map baseUrl 'js cfe app ' So it creates..

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

http://stackoverflow.com/questions/12302440/requirejs-is-there-a-way-to-achieve-multiple-base-urls

var framework ... set using script elements src attribute require.config baseUrl 'js ' Framework paths paths 'framework' framework 'lib'..

How to manage client-side JavaScript dependencies?

http://stackoverflow.com/questions/12893046/how-to-manage-client-side-javascript-dependencies

your client application and configure require.js require.config baseUrl sampleapp paths jquery libs jquery Local underscore..

Rich app development with node.js

http://stackoverflow.com/questions/14958504/rich-app-development-with-node-js

script head body div id main content div body html main.js require.config ... Configure requires.js... require jquery cs models samplemodel..

Require.js bug random Failed to load resource

http://stackoverflow.com/questions/17026036/require-js-bug-random-failed-to-load-resource

the application works fine... My config is pretty simple require.config shim underscore exports '_' backbone deps 'underscore' 'jquery'.. Applies to single page apps of course. All in one file require.config snip require 'mymodule' function mymodule do stuff 2 Use an..

Loading backbone and underscore using requirejs

http://stackoverflow.com/questions/8131265/loading-backbone-and-underscore-using-requirejs

underscore even though it doesn't have any dependencies. require.config shim underscore exports '_' backbone deps underscore jquery..

Prevent RequireJS from Caching Required Scripts

http://stackoverflow.com/questions/8315088/prevent-requirejs-from-caching-required-scripts

configured correctly. Example appending v2 to all scripts require.config urlArgs bust v2 For development purposes you can force RequireJS..