incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: [RT] From Singletons to Unit-testable code
Date Wed, 08 Feb 2012 15:44:21 GMT



On 2/8/12 7:33 AM, "Martin Heidegger" <mh@leichtgewicht.at> wrote:

> I am curious about the "simpler substitution": How would you do that in
> detail?
I think the simplest is just adding a replaceInstance on mx.core.Singleton
that dispatches an event with what got replaced.

And maybe some new list of mixins that get run before the SystemManager
registers the initial set of singletons.

-- 
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui


Mime
View raw message