¡@

Home 

javascript Programming Glossary: requirejs.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

over from scratch and now it works for me at least. requirejs.config baseUrl ' js ' paths jquery 'vendor jquery' handlebars 'vendor..

How to make a jQuery plugin loadable with requirejs

http://stackoverflow.com/questions/10918063/how-to-make-a-jquery-plugin-loadable-with-requirejs

to return anything as we are augmenting the jQuery object requirejs.config shim jquery cookie jquery i wondered if i could do things like.. the jQuery object at the end of jquery cookie.js OR requirejs.config shim jquery cookie jquery anywhere before you include jquery..

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

http://stackoverflow.com/questions/11674824/how-to-use-requirejs-build-profile-r-js-in-a-multi-page-project

main files start with essentially the same config options requirejs.config paths 'jquery' 'http ajax.googleapis.com ajax libs jquery 1.7.2.. well and seems right. I think the major problem is the requirejs.config call in multiple main files. I had the same problems you are.. can achieve the same results using the shim property in requirejs.config see below . 2 In a multi page application the solution for me..

Requirejs why and when to use shim config

http://stackoverflow.com/questions/15471088/requirejs-why-and-when-to-use-shim-config

shim config i read the requirejs document from here api requirejs.config shim 'backbone' These script dependencies should be loaded..

Correct way to implement jQuery with require.js

http://stackoverflow.com/questions/15613577/correct-way-to-implement-jquery-with-require-js

and jQuery and I am currently including jQuery like this requirejs.config paths 'jQuery' 'vendor jquery' require 'jQuery' function jQuery.. don't have other modules which need the global or jQuery requirejs.config paths 'jquery' 'vendor jquery' define 'jquery private' 'jquery'..

Sourcing jQuery from a CDN?

http://stackoverflow.com/questions/8070959/sourcing-jquery-from-a-cdn

to create a mapping for 'jquery' using the paths config requirejs.config paths 'jquery' 'https ajax.googleapis.com ajax libs jquery 1.7.2..