Skip to content

Commit

Permalink
updata README
Browse files Browse the repository at this point in the history
  • Loading branch information
pc175 committed Feb 15, 2015
1 parent 56845fa commit 57beb05
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
## 判断是否网络断了

此方法是通过 `online``offline` 事件来侦听是否断网,但是这个在 `IE ``Firefox` 中,并非断网了就是真的断网了。(如火狐中在选择 `菜单>>文件>>脱机工作`才会触发 `online``offline` 事件)

总之在`IE``Firefox`中一般情况下不能触发这俩事件,只有在选择脱机状态下才能触发此事件。

### 设置轮询时间和地址

> `time` 设置轮询时间
Expand Down

0 comments on commit 57beb05

Please sign in to comment.