Fix some typos.
This commit is contained in:
parent
dcb457e76e
commit
214f8477b3
3 changed files with 7 additions and 7 deletions
|
@ -3,7 +3,7 @@ NativeImage = require 'native-image'
|
|||
|
||||
getSources = (options, callback) ->
|
||||
ipc.send 'ATOM_BROWSER_DESKTOP_CAPTURER_GET_SOURCES', options
|
||||
ipc.once 'ATOM_REDNERER_DESKTOP_CAPTURER_RESULT', (sources) ->
|
||||
ipc.once 'ATOM_RENDERER_DESKTOP_CAPTURER_RESULT', (sources) ->
|
||||
callback ({id: source.id, name: source.name, thumbnail: NativeImage.createFromDataUrl source.thumbnail} for source in sources)
|
||||
|
||||
module.exports =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue