From 84fc1d022f1a8982117767f6fad8332408645260 Mon Sep 17 00:00:00 2001 From: Zeke Sikelianos Date: Mon, 22 Aug 2016 14:25:48 -0700 Subject: [PATCH] add missing require to win.loadURL doc --- docs/api/browser-window.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/browser-window.md b/docs/api/browser-window.md index 0387dae655e..b7f5483410d 100644 --- a/docs/api/browser-window.md +++ b/docs/api/browser-window.md @@ -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)