adobe/brackets-shell — pull request #261 by redmunds (2013-06-18 05:06:50+00:00)
Title: Better native before menu open event on Mac

This is for https://github.com/adobe/brackets/issues/4225.

This fixes callback so it only happens once before menu is opened.

Note this still does not work on main (Apple) menu, Brackets menu, or Window menu (i.e. neither did original solution).

cc: @gruehle