projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2c48c4
)
Mention createFromPath failure cases
author
Kevin Sawicki
<kevinsawicki@gmail.com>
Wed, 21 Sep 2016 17:48:01 +0000
(10:48 -0700)
committer
Kevin Sawicki
<kevinsawicki@gmail.com>
Wed, 21 Sep 2016 17:48:01 +0000
(10:48 -0700)
docs/api/native-image.md
patch
|
blob
|
history
diff --git
a/docs/api/native-image.md
b/docs/api/native-image.md
index
0e16e30
..
108d7e9
100644
(file)
--- a/
docs/api/native-image.md
+++ b/
docs/api/native-image.md
@@
-120,7
+120,9
@@
Creates an empty `NativeImage` instance.
* `path` String
-Creates a new `NativeImage` instance from a file located at `path`.
+Creates a new `NativeImage` instance from a file located at `path`. This method
+returns an empty image if the `path` does not exist, cannot be read, or is not
+a valid image.
```javascript
const nativeImage = require('electron').nativeImage