1. #1
    Sencha Premium Member
    Join Date
    Oct 2012
    Posts
    24
    Vote Rating
    2
    nirvdrum is on a distinguished road

      0  

    Default Issue Resolving Ext.window.MessageBox

    Issue Resolving Ext.window.MessageBox


    Hi,

    It seems the compiler is unable to resolve the dependency chain for "Ext.window.MessageBox". If I change it to "Ext.window.*" everything works fine. Outside of the compiler, "Ext.window.MessageBox" works okay with the debug JS.

    This is just a guess, but the singleton definition of MessageBox might be tripping up resolution.

  2. #2
    Sencha Premium Member
    Join Date
    Oct 2012
    Posts
    24
    Vote Rating
    2
    nirvdrum is on a distinguished road

      0  

    Default


    As an addendum, "Ext.window.*" doesn't quite work either. Rather than get a bad reference, "Ext.MessageBox" is just undefined.

    However, adding the require as a comment directive (i.e., "//@require Ext.window.MessageBox") works just fine. It's extracting from the Ext.require list that fails.