From: Cheng Zhao Date: Fri, 27 Sep 2013 03:02:08 +0000 (+0800) Subject: :lipstick: Fix warnings of coffeelint. X-Git-Tag: v0.5.2~6^2~1 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=f4f42b30eeacccf2f7495b5f403d9a87dbeb4886;p=electron.git :lipstick: Fix warnings of coffeelint. --- diff --git a/browser/atom/atom.coffee b/browser/atom/atom.coffee index bde64a3f..6a52cac9 100644 --- a/browser/atom/atom.coffee +++ b/browser/atom/atom.coffee @@ -26,7 +26,7 @@ atom.browserMainParts = global.__atom = atom # Add browser/api/lib to require's search paths, -# which contains javascript part of Atom's built-in libraries. +# which contains javascript part of Atom's built-in libraries. globalPaths = require('module').globalPaths globalPaths.push path.join process.resourcesPath, 'browser', 'api', 'lib' @@ -38,11 +38,11 @@ process.on 'uncaughtException', (error) -> # Show error in GUI. message = error.stack ? "#{error.name}: #{error.message}" require('dialog').showMessageBox - type: 'warning' - title: 'An javascript error occured in the browser' - message: 'uncaughtException' - detail: message - buttons: ['OK'] + type: 'warning' + title: 'An javascript error occured in the browser' + message: 'uncaughtException' + detail: message + buttons: ['OK'] # Load the RPC server. require './rpc-server.js'