w2utils.normMenu

Normalizes menu to a consistent array
normMenu(menu, [obj]);
menu array, object, or function, array of items to normalize
obj object, Object
This function is used in all the menus to normalized to an array of objects { id, text }. For example returns It can also be an object returns

User Comments

comments powered by Disqus