Update online-offline-events.md

Add HTML5 doctype.
This commit is contained in:
Xue Fuqiao 2015-03-04 21:29:02 +08:00
parent 4176d542a5
commit 29c6d1e46f

View file

@ -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>