All files / ext.wikilambda.edit/views FunctionEditor.vue

100% Statements 14/14
100% Branches 0/0
100% Functions 2/2
100% Lines 14/14

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41    15x 15x 15x           8x     15x   15x     15x 15x 15x     15x     15x       8x 8x 15x                
<!--
	WikiLambda Vue component for the special view of a ZFunction object.
 
	@copyright 2020– Abstract Wikipedia team; see AUTHORS.txt
	@license MIT
-->
<template>
	<div class="ext-wikilambda-function-editor">
		<div class="ext-wikilambda-function-editor__main">
			<main class="ext-wikilambda-function-editor__main__content">
				<wl-function-editor-definition></wl-function-editor-definition>
			</main>
		</div>
	</div>
</template>
 
<script>
const { defineComponent } = require( 'vue' );
const FunctionEditorDefinition = require( '../components/function/editor/FunctionEditorDefinition.vue' );
 
module.exports = exports = defineComponent( {
	name: 'wl-function-editor',
	components: {
		'wl-function-editor-definition': FunctionEditorDefinition
	},
	mounted: function () {
		this.$emit( 'mounted' );
	}
} );
</script>
 
<style lang="less">
.ext-wikilambda-function-editor {
	&__main {
		&__content {
			width: 100%;
		}
	}
}
</style>