From: Jessica Lord Date: Fri, 28 Aug 2015 17:50:30 +0000 (-0700) Subject: Small edits X-Git-Tag: v0.31.2~22^2~1 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=bbf2cbb6f6d31fe853ced5831515ab30edfb6354;p=electron.git Small edits --- diff --git a/docs/api/content-tracing.md b/docs/api/content-tracing.md index 04ee6190..954b52ef 100644 --- a/docs/api/content-tracing.md +++ b/docs/api/content-tracing.md @@ -7,6 +7,7 @@ generated file to view the result. ```javascript var tracing = require('content-tracing'); + tracing.startRecording('*', tracing.DEFAULT_OPTIONS, function() { console.log('Tracing started'); diff --git a/docs/api/crash-reporter.md b/docs/api/crash-reporter.md index 310c0bbc..86670fcc 100644 --- a/docs/api/crash-reporter.md +++ b/docs/api/crash-reporter.md @@ -6,7 +6,8 @@ The following is an example of automatically submitting a crash report to a remote server: ```javascript -crashReporter = require('crash-reporter'); +var crashReporter = require('crash-reporter'); + crashReporter.start({ productName: 'YourName', companyName: 'YourCompany',