зеркало из https://github.com/mozilla/pjs.git
Removed debug menus if not a debug build
This commit is contained in:
Родитель
8ade5d2f50
Коммит
0ae10b7f21
|
@ -61,6 +61,7 @@ VIEWER MENU DISCARDABLE
|
|||
MENUITEM SEPARATOR
|
||||
MENUITEM "P&refs", VIEWER_PREFS
|
||||
END
|
||||
#if defined(_DEBUG)
|
||||
POPUP "&Debug"
|
||||
{
|
||||
MENUITEM "&Visual Debugging", VIEWER_VISUAL_DEBUGGING
|
||||
|
@ -90,6 +91,7 @@ VIEWER MENU DISCARDABLE
|
|||
MENUITEM "Standard", VIEWER_STANDARD_MODE
|
||||
}
|
||||
}
|
||||
#endif
|
||||
POPUP "&Tools"
|
||||
{
|
||||
MENUITEM "&JavaScript Console", JS_CONSOLE
|
||||
|
@ -107,6 +109,7 @@ PRINTPREVIEW MENU DISCARDABLE
|
|||
{
|
||||
MENUITEM "&Close", PREVIEW_CLOSE
|
||||
}
|
||||
#if defined(_DEBUG)
|
||||
POPUP "&Debug"
|
||||
{
|
||||
MENUITEM "&Visual Debugging", VIEWER_VISUAL_DEBUGGING
|
||||
|
@ -118,6 +121,7 @@ PRINTPREVIEW MENU DISCARDABLE
|
|||
MENUITEM "Dump &Style Sheets", VIEWER_DUMP_STYLE_SHEETS
|
||||
MENUITEM "Dump &Style Contexts", VIEWER_DUMP_STYLE_CONTEXTS
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
JSCONSOLE_MENU MENU DISCARDABLE
|
||||
|
|
Загрузка…
Ссылка в новой задаче