add missing require to win.loadURL doc

This commit is contained in:
Zeke Sikelianos 2016-08-22 14:25:48 -07:00
parent e84d0ebb7e
commit 84fc1d022f

View file

@ -961,7 +961,7 @@ method:
let url = require('url').format({
protocol: 'file',
slashes: true,
pathname: path.join(__dirname, 'index.html')
pathname: require('path').join(__dirname, 'index.html')
})
win.loadURL(url)