public/ckeditor/_source/core/dom/domobject.js
function()
		{
			var nativeListeners = this.getCustomData( '_cke_nativeListeners' );
			for ( var eventName in nativeListeners )
			{
				var listener = nativeListeners[ eventName ];
				if ( this.$.detachEvent )
					this.$.detachEvent( 'on' + eventName, listener );
				else if ( this.$.removeEventListener )
					this.$.removeEventListener( eventName, listener, false );

				delete nativeListeners[ eventName ];
			}
		}
function()
		{
			var nativeListeners = this.getCustomData( '_cke_nativeListeners' );
			for ( var eventName in nativeListeners )
			{
				var listener = nativeListeners[ eventName ];
				if ( this.$.detachEvent )
					this.$.detachEvent( 'on' + eventName, listener );
				else if ( this.$.removeEventListener )
					this.$.removeEventListener( eventName, listener, false );

				delete nativeListeners[ eventName ];
			}
		}
function ( ) { var nativeListeners = this . getCustomData ( '_cke_nativeListeners' ) ; for ( var eventName in nativeListeners ) { var listener = nativeListeners [ eventName ] ; if ( this . $ . detachEvent ) this . $ . detachEvent ( 'on' + eventName , listener ) ; else if ( this . $ . removeEventListener ) this . $ . removeEventListener ( eventName , listener , false ) ; delete nativeListeners [ eventName ] ; } }
Removes any listener set on this object.
To avoid memory leaks we must assure that there are no
references left after the object is no longer needed.
Removes any listener set on this object . To avoid memory leaks we must assure that there are no references left after the object is no longer needed .