cujojs / curl

curl.js is small, fast, extensible module loader that handles AMD, CommonJS Modules/1.1, CSS, HTML/text, and legacy scripts.
https://github.com/cujojs/curl/wiki
Other
1.89k stars 216 forks source link

js! plugin path resolution #201

Closed phated closed 3 years ago

phated commented 10 years ago

It seems that attempting to use relative paths with the js! plugin causes interesting resolution problems. When specifying something like js!../vendor/underscore/test/arrays.js from test/underscore.html, it resolves to 'vendor/underscore/vendor/underscore/test/arrays.js'.

Let me know if this isn't enough info. It is really hard for me to explain >_>