mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Declare one variable per statement in protocol code example
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user