From: Cheng Zhao Date: Fri, 15 Nov 2013 03:00:48 +0000 (+0800) Subject: Enable starting crash-reporter without parameters. X-Git-Tag: v0.7.0~1^2~36 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=67dd59638674ef2100fb3e88490a9f7e668c483c;p=electron.git Enable starting crash-reporter without parameters. --- diff --git a/common/api/lib/crash-reporter.coffee b/common/api/lib/crash-reporter.coffee index 09a23dbe..cf198712 100644 --- a/common/api/lib/crash-reporter.coffee +++ b/common/api/lib/crash-reporter.coffee @@ -1,7 +1,7 @@ binding = process.atomBinding 'crash_reporter' class CrashReporter - start: (options) -> + start: (options={}) -> {productName, companyName, submitUrl, autoSubmit, ignoreSystemCrashHandler} = options productName ?= 'Atom-Shell'