rem: if (type && element.danielgredler[type]) 
add: if (type && element.$events[type]) 
context: 	remove: function(element, type, handler) {		if (element.danielgredler) {			var i,j,k;			if ( type && type.type ) { // type is actually an event object here				handler = type.handler;				type    = type.type;			}						if (type && element.danielgredler[type])				// remove the given handler for the given type				if ( handler )					delete element.danielgredler[type][handler.guid];									// remove all handlers for the given type				else					for ( i in element.danielgredler[type] )						delete element.danielgredler[type][i];									// remove all handlers					else				for ( j in element.danielgredler )					this.remove( element, j );						// remove event handler if no more handlers exist			for ( k in element.danielgredler[type] )				if (k) {					k = true;					break;				}			if (!k) element["on" + type] = null;		}	},
meta: 2315	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2315/f8c782059f568ad7c091e5508dc3889d357b27d0/jquery.js/buggy/htmlunit/src/test/resources/jquery/1.1.2/dist/jquery.js