From 6567b4c8bfc15149c803a2462d88c2ef55bb4af0 Mon Sep 17 00:00:00 2001 From: 707 <707472783@qq.com> Date: Wed, 15 Jun 2016 19:30:02 +0800 Subject: [PATCH] Update online-offline-events.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 漏掉了一个字 --- docs-translations/zh-CN/tutorial/online-offline-events.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs-translations/zh-CN/tutorial/online-offline-events.md b/docs-translations/zh-CN/tutorial/online-offline-events.md index d61f7378b967..c13e44c68850 100644 --- a/docs-translations/zh-CN/tutorial/online-offline-events.md +++ b/docs-translations/zh-CN/tutorial/online-offline-events.md @@ -33,7 +33,7 @@ app.on('ready', function() { ``` -也会有人想要在主进程也有回应这些事件的实例。然后主进程没有 `navigator` 对象因此不能直接探测在线还是离线。使用 Electron 的进程间通讯工具,事件就可以在主进程被使,就像下面的例子: +也会有人想要在主进程也有回应这些事件的实例。然后主进程没有 `navigator` 对象因此不能直接探测在线还是离线。使用 Electron 的进程间通讯工具,事件就可以在主进程被使用,就像下面的例子: *main.js* ```javascript