DescriptionAt the moment the common container cannot be extended by adding a new namespace and still have access to the container object. The only reasonable way to extend the common container at this moment it to add new methods by calling .prototype or by subclassing it. Another useful extension would be to allow features to add their own namespace to the common container and add new methods under that common container. However those methods may still want to reference other methods inside the common container so they need to be able to access the common container object itself.
Patch Set 1 #Patch Set 2 : Updated patch with suggested changes #Patch Set 3 : Updated patch with Mike's suggestion #
MessagesTotal messages: 7
|
||||||||||||||||||||||||||||