Re: General design question constructing a singleton class
- Think I got my answers by reading the following article:
And I think a layout constructor for my uses ought to be built up just
like the YAHOO.ext.EventManager (singelton by calling new on an
anonymous function) and if i want private variables then the
constructor way be returned.