]> khamidou — GitHub mirrors - electron.git/commitdiff
doc: Mention when protocol module is safe to use.
authorCheng Zhao <zcbenz@gmail.com>
Fri, 20 Sep 2013 10:36:16 +0000 (18:36 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Fri, 20 Sep 2013 10:36:16 +0000 (18:36 +0800)
docs/api/browser/protocol.md

index ec6c1f2f0556a2c02fc8cfa2f8db5bde9041eb37..7e566ba0ecbb0e428270e152dda2e0a19c302c85 100644 (file)
@@ -14,6 +14,9 @@ protocol.registerProtocol('atom', function(request) {
 });
 ```
 
+**Note:** This module can only be used after the `will-finish-launching` event
+was emitted.
+
 ## protocol.registerProtocol(scheme, handler)
 
 * `scheme` String