Remove the useless remote.getObject API.

This commit is contained in:
Cheng Zhao 2013-07-29 16:35:25 +08:00
parent e1ac21aa7a
commit cd19666307
3 changed files with 2 additions and 20 deletions

View file

@ -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 = ->