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

issues when using a custom-built ("dist") version of curl.js #57

Closed unscriptable closed 12 years ago

unscriptable commented 12 years ago

The following errors were seen when using a built/dist version of curl:

1) using the !exports=foo.bar option of the js! plugin sometimes fails. 2) exports objects in circular dependencies sometime resolve too early

zowers commented 12 years ago

!exports= fails in function return eval("global." + c) with [Exception: ReferenceError: global is not defined] because global is not defined in minified js! plugin

unscriptable commented 12 years ago

Thanks @zowers!