Variables are not shadowed in inline class

This commit is contained in:
Cheng Zhao 2015-12-28 22:32:07 +08:00
parent b5fd491c2d
commit 6785870dde

View file

@ -65,8 +65,8 @@ metaToValue = (meta) ->
return metaToValue obj
else
# Function call.
ret = ipcRenderer.sendSync 'ATOM_BROWSER_FUNCTION_CALL', meta.id, wrapArgs(arguments)
return metaToValue ret
obj = ipcRenderer.sendSync 'ATOM_BROWSER_FUNCTION_CALL', meta.id, wrapArgs(arguments)
return metaToValue obj
else
ret = v8Util.createObjectWithName meta.name