1
0
mirror of https://github.com/adobe/brackets.git synced 2024-11-20 18:02:54 +01:00

Merge pull request #13339 from adobe/saurabh95/linux-native-menus

Changed Global.js to enable Native Menus for Linux
This commit is contained in:
Swagatam Mitra 2017-05-03 11:50:36 +05:30 committed by GitHub
commit 5562adcbd8
2 changed files with 3 additions and 3 deletions

View File

@ -81,7 +81,7 @@ define(function (require, exports, module) {
if (hasNativeMenus) {
global.brackets.nativeMenus = (hasNativeMenus === "true");
} else {
global.brackets.nativeMenus = (!global.brackets.inBrowser && (global.brackets.platform !== "linux"));
global.brackets.nativeMenus = (!global.brackets.inBrowser);
}
// Locale-related APIs

View File

@ -28,8 +28,8 @@ define(function (require, exports, module) {
require("utils/Global");
// Don't run tests when running in browser or linux
if (brackets.inBrowser || brackets.platform === "linux") {
// Don't run tests when running in browser
if (brackets.inBrowser) {
return;
}