You can't. Define your function beforehand:
function eventHandler(event) {}
and assign it separately:
$('canvas').mouseout(eventHandler);
$('body').bind('blur contextmenu', eventHandler);
With .bind you can at least bind one event handler to multiple events.