Remove useless component.
authorAlexandre Segura <mex.zktk@gmail.com>
Mon, 20 Feb 2017 23:54:09 +0100
changeset 329 3d9fc1b920ec
parent 328 c23659daa42d
child 330 64a8800e63eb
Remove useless component.
src_js/iconolab-bundle/src/components/editor/Annotation.vue
src_js/iconolab-bundle/src/components/editor/index.js
--- 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,
 }