Thank you for quick reply. You are right, i have been using
autoloading for my files and few of them didn't have their
dependencies.
When I checked in ancestor loading method there was lots of nulls and
undefined values. Shouldn't there be some exception throw when
dependency is missing?
btw. Is there a way to define dependencies for autoloaded files?
I have had a very much similar use today when my JS.Packages was wrong, but had lots of exceptions everywhere else. Bottom line, when instantiating a JS.Class, I was passing the base class, but the base class was undefined (due to wrong JS.Packages), and this caused problems in odd places in my code.Shouldn't JS.Class throw an exception if I am trying to create a new class but pass undefined as base? or is "undefined" as base a valid use case?