Fixed Hint view
diff --git a/dev/demo/all.html b/dev/demo/all.html
index c1e10d5..c46dd69 100644
--- a/dev/demo/all.html
+++ b/dev/demo/all.html
@@ -147,7 +147,7 @@
<script src="../js/src/vc.js"></script>
<script src="../js/src/session.js"></script>
<script src="../js/src/tutorial.js"></script>
- <script src="../js/src/util.js"></script>
+ <script src="../js/src/init.js"></script>
<script>
KorAP.URL = 'http://localhost:3000';
</script>
diff --git a/dev/demo/all.js b/dev/demo/all.js
index b29b0b5..5ce1266 100644
--- a/dev/demo/all.js
+++ b/dev/demo/all.js
@@ -437,19 +437,24 @@
// Decorate actions
var init = KorAP.init();
- var menu = KorAP.MatchTreeMenu.create(
- undefined,
- menuContent
- );
-
// document.getElementById('vc-choose').click();
// init.tutorial.show();
- // Don't hide!!!
+/*
+
+ KorAP.HintMenu.hide = function () {};
+ init.hint.show();
+
+
+ var menu = KorAP.MatchTreeMenu.create(
+ undefined,
+ menuContent
+ );
menu.hide = function () {};
document.getElementById('menu').appendChild(menu.element());
menu.limit(3);
menu.show();
menu.focus();
+*/
});
diff --git a/dev/demo/match.html b/dev/demo/match.html
index 19014ba..cb2e7ef 100644
--- a/dev/demo/match.html
+++ b/dev/demo/match.html
@@ -4,7 +4,7 @@
<title>Match demo</title>
<meta charset="utf-8" />
<script src="../js/lib/dagre/dagre.min.js"></script>
- <script src="../js/src/util.js"></script>
+ <script src="../js/src/init.js"></script>
<script src="../js/src/menu.js"></script>
<script src="../js/src/match.js"></script>
<link type="text/css" rel="stylesheet" href="../css/kalamar.css" />