PDA

View Full Version : Issue Resolving Ext.window.MessageBox



nirvdrum
24 Nov 2012, 10:15 AM
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.

nirvdrum
27 Nov 2012, 11:55 AM
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.