rem: var handle = jQuery.data(element, "handle", function(){ 
add: var handle = jQuery.data(element, "handle") || jQuery.data(element, "handle", function(){ 
context: 	add: function(element, type, handler, data) {		// For whatever reason, IE has trouble passing the window object		// around, causing it to be cloned in the process		if ( jQuery.browser.msie && element.setInterval != undefined )			element = window;		// Make sure that the function being executed has a unique ID		if ( !handler.guid )			handler.guid = this.guid++;					// if data is passed, bind to handler 		if( data != undefined ) {         		// Create temporary function pointer to original handler 			var fn = handler; 			// Create unique handler function, wrapped around original handler 			handler = function() { 				// Pass arguments and context to original handler 				return fn.apply(this, arguments); 			};			// Store data in unique handler 			handler.data = data;			// Set the guid of unique handler to the same of original handler, so it can be removed 			handler.guid = fn.guid;		}		// Namespaced event handlers		var parts = type.split(".");		type = parts[0];		handler.type = parts[1];		// Init the element's event structure		var events = jQuery.data(element, "events") || jQuery.data(element, "events", {});				var handle = jQuery.data(element, "handle", function(){			// returned undefined or false			var val;			// Handle the second event of a trigger and when			// an event is called after a page has unloaded			if ( typeof jQuery == "undefined" || jQuery.event.triggered )				return val;						val = jQuery.event.handle.apply(element, arguments);						return val;		});		// Get the current list of functions bound to this event		var handlers = events[type];		// Init the event handler queue		if (!handlers) {			handlers = events[type] = {};							// And bind the global event handler to the element			if (element.addEventListener)				element.addEventListener(type, handle, false);			else				element.attachEvent("on" + type, handle);		}		// Add the function to the element's handler list		handlers[handler.guid] = handler;		// Keep track of which events have been used, for global triggering		this.global[type] = true;	},
meta: 5264	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5264/92aac3abd6bc493a0c5f216e2e51359024b90af1/event.js/clean/src/event.js