Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- jetpack.future.import("menu");
- var menu = {
- label: "Run Bug Test",
- menu: new jetpack.Menu( [ "A", "B" ] ),
- command: function(menuitem){
- jetpack.notifications.show(menuitem.label);
- }
- }
- jetpack.menu.bookmarks.add( menu );
- jetpack.menu.context.page.add( menu );
Add Comment
Please, Sign In to add comment