mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
Improve grammar, update as upstream
This commit is contained in:
@@ -8,11 +8,11 @@ generated file to view the result.
|
||||
```javascript
|
||||
var contentTracing = require('content-tracing');
|
||||
|
||||
tracing.startRecording('*', tracing.DEFAULT_OPTIONS, function() {
|
||||
contentTracing.startRecording('*', contentTracing.DEFAULT_OPTIONS, function() {
|
||||
console.log('Tracing started');
|
||||
|
||||
setTimeout(function() {
|
||||
tracing.stopRecording('', function(path) {
|
||||
contentTracing.stopRecording('', function(path) {
|
||||
console.log('Tracing data recorded to ' + path);
|
||||
});
|
||||
}, 5000);
|
||||
|
||||
Reference in New Issue
Block a user