From: Simon Knight Date: Fri, 30 Oct 2015 05:40:46 +0000 (+1030) Subject: fix capital I -> i in isDocumentEdited X-Git-Tag: v0.34.2~1^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=8cd8495df7f55f5c46e155a97dff9dcf7e99a861;p=electron.git fix capital I -> i in isDocumentEdited Uncaught Exception: TypeError: mainWindow.IsDocumentEdited is not a function --- diff --git a/docs/api/browser-window.md b/docs/api/browser-window.md index d7bf5be3..fbac6b10 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.