electron/lib
Charles Kerr c83f836faf
refactor: prefer using app.whenReady() (#21972)
* docs: add references to app.whenReady() in isReady

* refactor: prefer app.whenReady()

In the docs, specs, and lib, replace instances of `app.once('ready')`
(seen occasionally) and `app.on('ready')` (extremely common) with
`app.whenReady()`.

It's better to encourage users to use whenReady():
1. it handles the edge case of registering for 'ready' after it's fired
2. it avoids the minor wart of leaving an active listener alive for
an event that wll never fire again
2020-02-03 22:43:22 +00:00
..
browser refactor: prefer using app.whenReady() (#21972) 2020-02-03 22:43:22 +00:00
common test: fix some failing and disabled node specs (#19518) 2020-01-15 16:07:03 +09:00
content_script refactor: bundle the browser and renderer process electron code (#18553) 2019-06-02 13:03:03 -07:00
isolated_renderer chore: rename atom-binding-setup.ts to electron-binding-setup.ts (#17949) 2019-04-29 10:57:32 -04:00
renderer feat: warn when remote is used without enableRemoteModule: true (#21546) 2020-01-13 15:23:03 +09:00
sandboxed_renderer fix: load window-setup in sandboxed renderer (#21416) 2020-01-06 22:23:03 +01:00
worker refactor: remove electron.asar and embed JS in binary (#18577) 2019-06-03 17:03:59 -07:00