We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7006a14 commit a360ef7Copy full SHA for a360ef7
docs/api/protocol.md
@@ -10,7 +10,7 @@ An example of implementing a protocol that has the same effect with the
10
var app = require('app'),
11
path = require('path');
12
13
-app.on('will-finish-launching', function() {
+app.on('ready', function() {
14
var protocol = require('protocol');
15
protocol.registerProtocol('atom', function(request) {
16
var url = request.url.substr(7)
@@ -19,7 +19,7 @@ app.on('will-finish-launching', function() {
19
});
20
```
21
22
-**Note:** This module can only be used after the `will-finish-launching` event
+**Note:** This module can only be used after the `ready` event
23
was emitted.
24
25
## protocol.registerProtocol(scheme, handler)
0 commit comments