💄 Fix warnings of coffeelint.

This commit is contained in:
Cheng Zhao 2013-09-27 11:02:08 +08:00
parent f3eef6cc2e
commit f4f42b30ee

View file

@ -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'