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.88k stars 216 forks source link

should fail loudly when paths resolution would push past the baseUrl. (was: siblings of top-level package modules are not resolved correctly) #93

Closed unscriptable closed 12 years ago

unscriptable commented 12 years ago

see https://github.com/scothis/rest/blob/node-deep-modules/rest.js

scothis commented 12 years ago

The test in question https://github.com/scothis/rest/blob/node-deep-modules/test/client/xhr-test-browser.js#L61

unscriptable commented 12 years ago

This turned out to be a path issue, but curl.js didn't fail loudly when curl's attempted to navigate past the baseUrl. Keeping this issue open (with a new name) to fail loudly.