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:
2b5a0e2
)
Correct WebContents send example.
author
Kramer Campbell
<kramer@kramerc.com>
Wed, 7 May 2014 23:32:02 +0000
(16:32 -0700)
committer
Kramer Campbell
<kramer@kramerc.com>
Wed, 7 May 2014 23:32:02 +0000
(16:32 -0700)
docs/api/browser-window.md
patch
|
blob
|
history
diff --git
a/docs/api/browser-window.md
b/docs/api/browser-window.md
index
0741759
..
c5a15c1
100644
(file)
--- a/
docs/api/browser-window.md
+++ b/
docs/api/browser-window.md
@@
-468,7
+468,7
@@
var window = null;
app.on('ready', function() {
window = new BrowserWindow({width: 800, height: 600});
window.loadUrl('file://' + __dirname + '/index.html');
- window.on('did-finish-load', function() {
+ window.
webContents.
on('did-finish-load', function() {
window.webContents.send('ping', 'whoooooooh!');
});
});