Sounds good to me, supressing errors that can create weird application
behaviors is not a good thing. 

-----Original Message-----
From: Michael Turyn [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 07, 2006 11:56 AM
To: [email protected]
Subject: A change to require()?

 
Currently, Xap.require() won't throw an error if there's an underlying
problem loading a class.  Would anyone object to my altering Xap such
that it will in that case (currently, iff dojo.require() throws an
exception)?

It might induce errors showing up, but I, for one, welcome knowing about
them.

(In the mean-time, I'm making the method return a boolean based on
success; that will affect no-one else.)

Reply via email to