]> khamidou — GitHub mirrors - electron.git/commitdiff
Declare one variable per statement in protocol code example
authorThomas Tuts <thomas.tuts@gmail.com>
Tue, 9 Jun 2015 16:10:02 +0000 (18:10 +0200)
committerThomas Tuts <thomas.tuts@gmail.com>
Tue, 9 Jun 2015 16:10:02 +0000 (18:10 +0200)
docs/api/protocol.md

index 65554e052105bce8da28b1b7524ceacc704598c3..181a2e57f733d3e608479a52deea4dfca9a7a9c0 100644 (file)
@@ -7,8 +7,8 @@ An example of implementing a protocol that has the same effect with the
 `file://` protocol:
 
 ```javascript
-var app = require('app'),
-    path = require('path');
+var app = require('app');
+var path = require('path');
 
 app.on('ready', function() {
     var protocol = require('protocol');