I am trying to use requirejs to load jqueryui with a CDN, this is my config:
paths:
jqueryui: "http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/jquery-ui.min.js"
shim:
jqueryui:
deps: ['jquery']
And now in my main module i just use require['jqueryui'], pretty much the standard way, everything else loads great from my private CDN, but the requirejs tries to load the jqueryui from the private CDN too, it seems to think that jqueryui is a local module. Not sure what is wrong. Also, i am using requirejs-rails gem as the wrapper for require.js.
r.jsbuilds by any chance?