RaveJS / rave

Zero-configuration application bootstrap and development
278 stars 8 forks source link

Defer missing dependency errors to factory execution time #21

Open unscriptable opened 10 years ago

unscriptable commented 10 years ago

We should consider deferring the detection of dependency failures when using CommonJS/node module or AMD-wrapped CommonJS modules. See this issue: https://github.com/amdjs/amdjs-api/issues/21

Module authors could trap the errors inside the module code and decide how to deal with the missing dependency.

Additional benefit: this would help narrow the differences between server-side and client-side module behavior.