First attempt to make meta data available
Change-Id: Id78b5e64b68053e6f58aad6d65c036c221025000
diff --git a/dev/js/src/match.js b/dev/js/src/match.js
index 6299220..aba738c 100644
--- a/dev/js/src/match.js
+++ b/dev/js/src/match.js
@@ -114,7 +114,6 @@
return this;
},
-
/**
* Return a list of parseable tree annotations.
*/
@@ -205,6 +204,15 @@
return true;
},
+
+ /**
+ * Return a list of meta data.
+ */
+ showMeta : function () {
+ this.metaInfo = this._element.getAttribute('data-info');
+ console.log(JSON.parse(metaInfo));
+ },
+
// Todo: Test toggle
toggle : function () {
if (this._element.classList.contains('active'))