Final cleanup

This commit is contained in:
Cheng Zhao 2015-07-08 16:23:43 +08:00
parent aab78db8b8
commit 001b4a3179
2 changed files with 20 additions and 13 deletions

View file

@ -113,4 +113,5 @@ module.exports =
binding.showErrorBox args...
# Mark standard asynchronous functions.
v8Util.setHiddenValue f, 'asynchronous', true for k, f of module.exports
for api in ['showMessageBox', 'showOpenDialog', 'showSaveDialog']
v8Util.setHiddenValue module.exports[api], 'asynchronous', true