context: FCKTools.AddEventListenerEx = function( sourceObject, eventName, listener, paramsArray ){	// Ok... this is a closures party, but is the only way to make it clean of memory leaks.	var o = new Object() ;	o.Source = sourceObject ;	o.Params = paramsArray || [] ;	// Memory leak if we have DOM objects here.	o.Listener = function( ev )	{		return listener.apply( o.Source, [ ev ].concat( o.Params ) ) ;	}		if ( FCK.IECleanup )		FCK.IECleanup.AddItem( null, function() { o.Source = null ; o.Params = null ; } ) ;		sourceObject.attachEvent( 'on' + eventName, o.Listener ) ;	sourceObject = null ;	// Memory leak cleaner (because of the above closure).	paramsArray = null ;	// Memory leak cleaner (because of the above closure).}
meta: 8533	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8533/9e983f26dc3628701a539d2377aaa3db1e8f1f71/fcktools_ie.js/buggy/library/src/webapp/editor/FCKeditor/editor/_source/internals/fcktools_ie.js