Require.js Loosing Url Context
Using this url: 'localhost/app2/app.html' I would expect require.js to manipulate the paths so that all scripts it loads are prefixed with the context 'app2/'. However, I get a 40
Solution 1:
Ok, I have the answer. I had set the baseUrl to an absolute URL, rather than relative. The correct string is:
baseUrl: './'
Post a Comment for "Require.js Loosing Url Context"