incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <>
Subject Re: [RT] From Singletons to Unit-testable code
Date Wed, 08 Feb 2012 06:02:32 GMT

On 2/7/12 8:42 PM, "Martin Heidegger" <> wrote:

> This second part is the reason I wrote this. I am all ears as to how
> this can be fixed more easily!
One way is to define another set of mixins that get initialized before the
SystemManager starts registering singletons.

In my whiteboard re-write, the Singletons will probably be defined in some
manifest, will only register just before first use, and there will be an
event to give you a definite chance to register replacements.

Alex Harui
Flex SDK Team
Adobe Systems, Inc.

View raw message