]> khamidou — GitHub mirrors - electron.git/commitdiff
Small edits
authorJessica Lord <jlord@github.com>
Fri, 28 Aug 2015 17:50:30 +0000 (10:50 -0700)
committerJessica Lord <jlord@github.com>
Fri, 28 Aug 2015 17:50:30 +0000 (10:50 -0700)
docs/api/content-tracing.md
docs/api/crash-reporter.md

index 04ee6190a35062fcf1dacb341f67c4f153f45765..954b52efcc9e8ab477053408d8b01fc609653765 100644 (file)
@@ -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');
 
index 310c0bbc31fe90011bf6343396a28dd9e7c4dcf4..86670fcc90c9002042a9f016f9305ec887aeae65 100644 (file)
@@ -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',