From 8cd8495df7f55f5c46e155a97dff9dcf7e99a861 Mon Sep 17 00:00:00 2001 From: Simon Knight Date: Fri, 30 Oct 2015 16:10:46 +1030 Subject: [PATCH] fix capital I -> i in isDocumentEdited Uncaught Exception: TypeError: mainWindow.IsDocumentEdited is not a function --- 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 d7bf5be374d4..fbac6b10863b 100644 --- a/docs/api/browser-window.md +++ b/docs/api/browser-window.md @@ -594,7 +594,7 @@ Returns the pathname of the file the window represents. Specifies whether the window’s document has been edited, and the icon in title bar will become grey when set to `true`. -### `win.IsDocumentEdited()` _OS X_ +### `win.isDocumentEdited()` _OS X_ Whether the window's document has been edited.