docs: Document the new style of remote module

This commit is contained in:
Cheng Zhao 2015-11-13 22:34:00 +08:00
parent 94e24abb99
commit 5cacf79bc5
4 changed files with 14 additions and 5 deletions

View file

@ -38,7 +38,7 @@ extra ability to use node modules:
<body>
<script>
const remote = require('electron').remote;
console.log(remote.require('electron').app.getVersion());
console.log(remote.app.getVersion());
</script>
</body>
</html>