[TYPO3-project-4-3] ExtJS Date-picker for TCEFORMS
    Benjamin Mack 
    benni at typo3.org
       
    Mon Jun 29 11:14:18 CEST 2009
    
    
  
Hey Masi,
On 29.06.2009 10:35 Uhr, Martin Kutschker wrote:
> I mean:
>
> Ext.onReady(function() {
>    function makeDatePicker() {
> 	// ...
>    }
>
>    Ext.QuickTips.init(); // needed for the date picker?
>    makeDatePicker();
> });
>
> If I'm not mistaken then makeDatePicker() isn't global any more. So no
> name space is needed.
Yes, but the point of the namespace is also in this case, that the 
methods can be overriden and thus be extended by extensions. with the 
code above, it's not as trivial.
All the best,
Benni.
    
    
More information about the TYPO3-project-4-3
mailing list