bundles/org.eclipse.orion.client.ui/web/orion/uiUtils.js
function openInNewWindow(event) {
		var isMac = window.navigator.platform.indexOf("Mac") !== -1; //$NON-NLS-0$
		return (isMac && event.metaKey) || (!isMac && event.ctrlKey);
	}
function openInNewWindow(event) {
		var isMac = window.navigator.platform.indexOf("Mac") !== -1; //$NON-NLS-0$
		return (isMac && event.metaKey) || (!isMac && event.ctrlKey);
	}
function openInNewWindow ( event ) { var isMac = window . navigator . platform . indexOf ( "Mac" ) !== - 1 ; //$NON-NLS-0$ return ( isMac && event . metaKey ) || ( ! isMac && event . ctrlKey ) ; }
Returns whether the given event should cause a reference
to open in a new window or not.
@param {Object} event The key event
@name orion.util#openInNewWindow
@function
Returns whether the given event should cause a reference to open in a new window or not .