]> khamidou — GitHub mirrors - electron.git/commitdiff
fix capital I -> i in isDocumentEdited
authorSimon Knight <simon.knight@gmail.com>
Fri, 30 Oct 2015 05:40:46 +0000 (16:10 +1030)
committerSimon Knight <simon.knight@gmail.com>
Fri, 30 Oct 2015 05:40:46 +0000 (16:10 +1030)
Uncaught Exception:
TypeError: mainWindow.IsDocumentEdited is not a function

docs/api/browser-window.md

index d7bf5be374d4e7ed5547d192049af83a86b6954b..fbac6b10863b6ed5c72f995722cfbb1c5bed25d8 100644 (file)
@@ -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.