💄 Fix warnings of coffeelint.
This commit is contained in:
parent
f3eef6cc2e
commit
f4f42b30ee
1 changed files with 6 additions and 6 deletions
|
@ -38,11 +38,11 @@ process.on 'uncaughtException', (error) ->
|
||||||
# Show error in GUI.
|
# Show error in GUI.
|
||||||
message = error.stack ? "#{error.name}: #{error.message}"
|
message = error.stack ? "#{error.name}: #{error.message}"
|
||||||
require('dialog').showMessageBox
|
require('dialog').showMessageBox
|
||||||
type: 'warning'
|
type: 'warning'
|
||||||
title: 'An javascript error occured in the browser'
|
title: 'An javascript error occured in the browser'
|
||||||
message: 'uncaughtException'
|
message: 'uncaughtException'
|
||||||
detail: message
|
detail: message
|
||||||
buttons: ['OK']
|
buttons: ['OK']
|
||||||
|
|
||||||
# Load the RPC server.
|
# Load the RPC server.
|
||||||
require './rpc-server.js'
|
require './rpc-server.js'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue