]> khamidou — GitHub mirrors - electron.git/commitdiff
s/liste/listen
authorCheng Zhao <zcbenz@gmail.com>
Tue, 16 Jun 2015 02:08:32 +0000 (10:08 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Tue, 16 Jun 2015 02:08:32 +0000 (10:08 +0800)
docs/api/app.md

index 2d0e8219548486824b3c77ed6acb448fc65ab9d8..d30c8c39c8a809b8c6307bfddf1ca31c10e33d55 100644 (file)
@@ -62,7 +62,12 @@ Emitted when application is quitting.
 * `event` Event
 * `path` String
 
-Emitted when user wants to open a file with the application, it usually happens when the application is already opened and then OS wants to reuse the application to open file. But it is also emitted when a file is dropped onto the dock and the application is not yet running. Make sure to liste to open-file very early in your application startup to handle this case (even before the ready event is emitted).
+Emitted when user wants to open a file with the application, it usually happens
+when the application is already opened and then OS wants to reuse the
+application to open file. But it is also emitted when a file is dropped onto the
+dock and the application is not yet running. Make sure to listen to open-file
+very early in your application startup to handle this case (even before the
+`ready` event is emitted).
 
 You should call `event.preventDefault()` if you want to handle this event.