From bbf2cbb6f6d31fe853ced5831515ab30edfb6354 Mon Sep 17 00:00:00 2001 From: Jessica Lord Date: Fri, 28 Aug 2015 10:50:30 -0700 Subject: [PATCH] Small edits --- docs/api/content-tracing.md | 1 + docs/api/crash-reporter.md | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/api/content-tracing.md b/docs/api/content-tracing.md index 04ee6190a350..954b52efcc9e 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 310c0bbc31fe..86670fcc90c9 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',