Changes between Initial Version and Version 1 of Ticket #14592, comment 1


Ignore:
Timestamp:
Jan 11, 2012, 8:07:33 AM (10 years ago)
Author:
Kitson Kelly
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14592, comment 1

    initial v1  
    1 Ok, it seems to be caused at this line
    2 {{{#!js
    3 var ctor = type && (_ctorMap[type] || (_ctorMap[type] = (dlang.getObject(type) || require(type)))), // note: won't find classes declared via dojo.Declaration
    4 }}}
    5 
    6 Which wisely says "won't find classes declared via dojo.Declaration", but is now throwing an error, because require is.
    7 
    8 I could wrap it in a `try {} catch(err) {}` and just ignore any errors, but I don't know if that is proper.  I have done that in my working copy and it does work.
    9 
    10 The second `require()` in `instantiate()` isn't causing any problems.
     1Sorry wrong ticket...