Skip to content

Commit

Permalink
standardize electron-capturer doc snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
zeke committed Jul 26, 2016
1 parent c38f505 commit c3f26df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/api/desktop-capturer.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ desktopCapturer.getSources({types: ['window', 'screen']}, (error, sources) => {
}
})

function handleStream(stream) {
function handleStream (stream) {
document.querySelector('video').src = URL.createObjectURL(stream)
}

function handleError(e) {
function handleError (e) {
console.log(e)
}
```
Expand Down

0 comments on commit c3f26df

Please sign in to comment.