mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
Update online-offline-events.md
Add HTML5 doctype.
This commit is contained in:
@@ -19,6 +19,7 @@ app.on('ready', function() {
|
||||
_online-status.html_
|
||||
|
||||
```html
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
<script>
|
||||
@@ -62,6 +63,7 @@ ipc.on('online-status-changed', function(event, status) {
|
||||
_online-status.html_
|
||||
|
||||
```html
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
<script>
|
||||
|
||||
Reference in New Issue
Block a user