Release preparation, documentation, fixing vc bugs
diff --git a/dev/js/src/match/treemenu.js b/dev/js/src/match/treemenu.js
index 23341a4..16f6306 100644
--- a/dev/js/src/match/treemenu.js
+++ b/dev/js/src/match/treemenu.js
@@ -5,6 +5,16 @@
"use strict";
return {
+
+ /**
+ * Create new menu object.
+ * Pass the match information object
+ * and the item parameters.
+ *
+ * @param info The match info object
+ * @param params The match menu items
+ * as an array of arrays.
+ */
create : function (info, params) {
var obj = Object.create(menuClass)
.upgradeTo(this)
@@ -19,6 +29,10 @@
return obj;
},
+
+ /**
+ * The match information object of the menu.
+ */
info :function () {
return this._info;
}