Mention not requiring module until app is ready

This commit is contained in:
Kevin Sawicki 2016-09-16 11:38:32 -07:00
parent e77d7e7f62
commit 0fda86f79a
2 changed files with 8 additions and 7 deletions

View file

@ -2,8 +2,8 @@
> Retrieve information about screen size, displays, cursor position, etc.
You cannot use this module until the `ready` event of the `app` module is
emitted (by invoking or requiring it).
You cannot require or use this module until the `ready` event of the `app`
module is emitted.
`screen` is an [EventEmitter](http://nodejs.org/api/events.html#events_class_events_eventemitter).