mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
fix some coding standards issues
This commit is contained in:
parent
010e2091fa
commit
95ef46d77c
2 changed files with 5 additions and 5 deletions
|
@ -107,7 +107,7 @@ userConfig.load(configPath);
|
|||
const ipcMain = electron.ipcMain;
|
||||
|
||||
|
||||
function isInterfaceInstalled() {
|
||||
function isInterfaceInstalled () {
|
||||
if (osType == "Darwin") {
|
||||
// In OSX Sierra, the app translocation process moves
|
||||
// the executable to a random location before starting it
|
||||
|
@ -120,7 +120,7 @@ function isInterfaceInstalled() {
|
|||
}
|
||||
}
|
||||
|
||||
function isServerInstalled() {
|
||||
function isServerInstalled () {
|
||||
return dsPath && acPath;
|
||||
}
|
||||
|
||||
|
@ -338,7 +338,7 @@ const HifiNotificationType = hfNotifications.NotificationType;
|
|||
var pendingNotifications = {}
|
||||
var notificationState = NotificationState.UNNOTIFIED;
|
||||
|
||||
function setNotificationState(notificationType, pending = true) {
|
||||
function setNotificationState (notificationType, pending = true) {
|
||||
pendingNotifications[notificationType] = pending;
|
||||
notificationState = NotificationState.UNNOTIFIED;
|
||||
for (var key in pendingNotifications) {
|
||||
|
@ -526,7 +526,7 @@ function buildMenuArray(serverState) {
|
|||
menuArray.push(labels.share);
|
||||
menuArray.push(separator);
|
||||
if (isInterfaceInstalled()) {
|
||||
if(trayNotifications.enabled()) {
|
||||
if (trayNotifications.enabled()) {
|
||||
menuArray.push(labels.goto);
|
||||
menuArray.push(labels.people);
|
||||
menuArray.push(labels.wallet);
|
||||
|
|
|
@ -123,7 +123,7 @@ HifiNotification.prototype = {
|
|||
timeout: 5
|
||||
},
|
||||
function (error, reason, metadata) {
|
||||
if(_finished) {
|
||||
if (_finished) {
|
||||
if (osType === 'Darwin') {
|
||||
setTimeout(_finished, OSX_CLICK_DELAY_TIMEOUT);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue