bundles/org.eclipse.orion.client.ui/web/orion/webui/littlelib.js
function stop(event) {
		if (window.document.all) { 
			event.keyCode = 0;
		}
		if (event.preventDefault) {
			event.preventDefault();
			event.stopPropagation();
		}
	}
function stop(event) {
		if (window.document.all) { 
			event.keyCode = 0;
		}
		if (event.preventDefault) {
			event.preventDefault();
			event.stopPropagation();
		}
	}
function stop ( event ) { if ( window . document . all ) { event . keyCode = 0 ; } if ( event . preventDefault ) { event . preventDefault ( ) ; event . stopPropagation ( ) ; } }
Cancels the default behavior of an event and stops its propagation.
@name orion.webui.littlelib.stop
@function
@static
@param {Event} event
Cancels the default behavior of an event and stops its propagation .