Introduced benchmark system
diff --git a/dev/js/src/menu/item.js b/dev/js/src/menu/item.js
index 8278d17..873d81b 100644
--- a/dev/js/src/menu/item.js
+++ b/dev/js/src/menu/item.js
@@ -170,7 +170,6 @@
// Highlight a certain substring of the menu item
_highlight : function (elem, prefix) {
-
if (elem.nodeType === 3) {
var text = elem.nodeValue;
@@ -228,7 +227,7 @@
this._action = params[1];
this._lcField = ' ' + this.content().textContent.toLowerCase();
- this._highlight = null;
+ this._prefix = null;
return this;
},