Introduced benchmark system
diff --git a/dev/demo/menudemo.js b/dev/demo/menudemo.js
index 2180634..29d5c1b 100644
--- a/dev/demo/menudemo.js
+++ b/dev/demo/menudemo.js
@@ -60,10 +60,14 @@
* Create own menu class.
*/
var OwnMenu = {
- create : function (params) {
+ create : function (list) {
var obj = Object.create(menuClass)
.upgradeTo(this)
- ._init(OwnMenuItemClass, OwnPrefixClass, lengthFieldClass, params);
+ ._init(list, {
+ itemClass : OwnMenuItemClass,
+ prefixClass : OwnPrefixClass,
+ lengthFieldClass : lengthFieldClass
+ });
obj._firstActive = true;
return obj;
}