src_js/iconolab-bundle/src/main.js
changeset 153 9ed54b10ce16
parent 148 5d2cd51c6951
child 156 e1e14766f608
--- a/src_js/iconolab-bundle/src/main.js	Tue Aug 23 18:37:07 2016 +0200
+++ b/src_js/iconolab-bundle/src/main.js	Fri Aug 26 18:48:30 2016 +0200
@@ -7,13 +7,20 @@
 import Cutout from './components/cutout'
 import Zoomview from './components/zoomview/Zoomview.vue'
 import MergeTool from './components/mergetool/MergeTool.vue'
+import DiffViewer from './components/diffviewer/diffviewer.vue'
+import jsondiffpatch from 'jsondiffpatch'
+
+const Diff = require('diff')
 
 var iconolab = {
 	Cutout : Cutout,
+	JsDiff: Diff,
+	JsonDiff: jsondiffpatch,
 	VueComponents : {
 		Typeahead: Typeahead,
 		MergeTool: MergeTool,
-		Zoomview: Zoomview
+		Zoomview: Zoomview,
+		DiffViewer: DiffViewer
 	}
 };