Can I / how do I put multiple plugin menu items in one javascript file?
Hi,
I would like to re-use code between more than one plugin menu item, and was wondering if I have to create a new javascript file for each plugin menu item, or whether it is possible to have more than one plugin menu item in one javascript file. If it is possible to have more than one menu item per file, how do I do it?
Thanks,
Yvonne
Comments
It's better defining menu items via the mscorePlugin var and you can define only one menu path there.