On 09.07.2010 15:43, thron7 wrote:


On 07/09/2010 03:11 PM, panyasan wrote:
#use(dialog.*)

to pull in all the classes, but this didn't work to activate the triggering
of the "defer" function. I had to separately specify all the classes that
were used:

#use(dialog.Alert)
#use(dialog.Prompt)
#use(dialog.Confirm)
#use(dialog.Select)
#use(dialog.Form)
#use(dialog.Wizard)

then it worked. I'll open up a bug for that tonight, too.

I'd rather have you not doing that. The #require and #use compiler hints
are not designed to accept wild cards, and I wouldn't want them to do
that. They're just helpers for the dependency analysis, and I wouldn't
want to them to function profusely. They should be used as sparse and as
specific as possible. Especially when a rather arcane feature is
concerned, like your functions-on-name-space-shortcuts. I'm not sure I
like it. The proper "qooxdoo'ish" way to achieve what you want is to
create a static class for these shortcuts. Think about it...
+1, this should remain a fine grained feature

Werner

<<attachment: werner.vcf>>

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to