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:
commit
5562adcbd8
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user