Remove useless component.
--- a/src_js/iconolab-bundle/src/components/editor/Annotation.vue Mon Feb 20 19:52:22 2017 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-<script>
-
- export default {
- props: [
- 'title',
- 'description',
- 'fragment',
- 'tags'
- ],
- mounted() {
-
- var tags = [];
- if (this.tags) {
- tags = JSON.parse(this.tags);
- }
-
- this.$parent.setAnnotation({
- title: this.title,
- description: this.description,
- fragment: this.fragment,
- tags: tags
- });
- },
- render: function(createElement) {}
- }
-
-</script>
--- a/src_js/iconolab-bundle/src/components/editor/index.js Mon Feb 20 19:52:22 2017 +0100
+++ b/src_js/iconolab-bundle/src/components/editor/index.js Mon Feb 20 23:54:09 2017 +0100
@@ -1,11 +1,9 @@
import Canvas from './Canvas.vue'
-import Annotation from './Annotation.vue'
import AnnotationForm from './AnnotationForm.vue'
import CommentList from './CommentList.vue'
export default {
Canvas: Canvas,
- Annotation: Annotation,
AnnotationForm: AnnotationForm,
CommentList: CommentList,
}