<script>
	function foo() {}
	function bar() {}
</script>

<div in:foo in:bar>...</div>