On 2/7/12 8:42 PM, "Martin Heidegger" <m...@leichtgewicht.at> 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. http://blogs.adobe.com/aharui
- [RT] From Singletons to Unit-testable code Martin Heidegger
- RE: [RT] From Singletons to Unit-testable code Michael A. Labriola
- Re: [RT] From Singletons to Unit-testable cod... Martin Heidegger
- RE: [RT] From Singletons to Unit-testable... Michael A. Labriola
- Re: [RT] From Singletons to Unit-testable code Alex Harui
- Re: [RT] From Singletons to Unit-testable cod... Omar Gonzalez
- Re: [RT] From Singletons to Unit-testable... Omar Gonzalez
- Re: [RT] From Singletons to Unit-testable cod... Martin Heidegger
- Re: [RT] From Singletons to Unit-testable... Alex Harui
- Re: [RT] From Singletons to Unit-test... Martin Heidegger
- Re: [RT] From Singletons to Unit... Alex Harui
- Re: [RT] From Singletons to ... Martin Heidegger
- Re: [RT] From Singletons... Alex Harui
- RE: [RT] From Singletons to Unit-testable cod... David Arno
- Re: [RT] From Singletons to Unit-testable... Martin Heidegger
- RE: [RT] From Singletons to Unit-test... Michael A. Labriola
- Re: [RT] From Singletons to Unit... Erik Lundgren
- RE: [RT] From Singletons to ... Michael A. Labriola
- [Infra] Wiki Account Keith Sutton