eric-wang/dojox_application — comment on commit 44ebea07859731290b8203c222209af5896f6bf3
File: controllers/load.js line 82
By eric-wang:

Yes. It's better to connect on require "error" event and remove it when require process done. By this the "error" handler will only call once if require "error" occur.
see commit ：https://github.com/eric-wang/dojox_application/commit/cc031147695d1fbb805ab2de3a57845afcf58228