Remove the useless remote.getObject API.
This commit is contained in:
parent
e1ac21aa7a
commit
cd19666307
3 changed files with 2 additions and 20 deletions
|
@ -96,11 +96,6 @@ exports.require = (module) ->
|
|||
meta = ipc.sendChannelSync 'ATOM_BROWSER_REQUIRE', module
|
||||
moduleCache[module] = metaToValue meta
|
||||
|
||||
# Get object with specified id.
|
||||
exports.getObject = (id) ->
|
||||
meta = ipc.sendChannelSync 'ATOM_BROWSER_REFERENCE', id
|
||||
metaToValue meta
|
||||
|
||||
# Get current window object.
|
||||
windowCache = null
|
||||
exports.getCurrentWindow = ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue